.page-home-modern {
    --modern-black: #05080c;
    --modern-black-2: #091018;
    --modern-panel: #0d151d;
    --modern-white: #f7f9fb;
    --modern-surface: #f1f4f6;
    --modern-ink: #07101a;
    --modern-muted: #aab5c0;
    --modern-blue: #0878be;
    --modern-blue-bright: #18a0df;
    --modern-line: rgba(255, 255, 255, 0.13);
    --modern-dark-line: rgba(7, 16, 26, 0.14);
    margin: 0;
    background: var(--modern-black);
    color: var(--modern-white);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

.page-home-modern::before {
    display: none;
}

.page-home-modern *,
.page-home-modern *::before,
.page-home-modern *::after {
    box-sizing: border-box;
}

.page-home-modern img {
    display: block;
    max-width: 100%;
}

.page-home-modern a {
    color: inherit;
    text-decoration: none;
}

.page-home-modern main,
.page-home-modern .modern-header,
.page-home-modern .modern-footer {
    position: relative;
    z-index: 1;
}

.modern-container {
    width: min(1400px, calc(100vw - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    padding: 12px 16px;
    background: #fff;
    color: #07101a !important;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.18s ease;
}

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

.page-home-modern :where(a, button, summary):focus-visible {
    outline: 3px solid #8fd6ff;
    outline-offset: 4px;
}

/* Header */
.page-home-modern .modern-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(2, 6, 10, 0.82), rgba(2, 6, 10, 0.28));
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(1.08);
}

.modern-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.modern-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.modern-brand img {
    width: 48px;
    height: 48px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
}

.modern-brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1.1;
}

.modern-brand-copy strong {
    color: #fff;
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.12em;
}

.modern-brand-copy span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.modern-nav {
    margin-left: auto;
    display: flex;
    align-self: stretch;
    gap: 22px;
}

.modern-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: color 0.18s ease;
}

.modern-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    height: 2px;
    background: var(--modern-blue-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.modern-nav a:hover,
.modern-nav a:focus-visible {
    color: #fff;
}

.modern-nav a:hover::after,
.modern-nav a:focus-visible::after {
    transform: scaleX(1);
}

.modern-header-cta,
.modern-button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modern-header-cta {
    margin-left: 2px;
    border-color: rgba(255, 255, 255, 0.54);
    background: rgba(6, 13, 20, 0.26);
    color: #fff;
}

.modern-header-cta::after,
.modern-button::after {
    content: "↗";
    margin-left: 12px;
    font-size: 0.9rem;
    transition: transform 0.18s ease;
}

.modern-header-cta:hover,
.modern-header-cta:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #07101a;
}

.modern-header-cta:hover::after,
.modern-button:hover::after {
    transform: translate(2px, -2px);
}

.modern-menu {
    position: relative;
    display: none;
    margin-left: auto;
}

.modern-menu summary {
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.modern-menu summary::-webkit-details-marker {
    display: none;
}

.modern-menu nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(340px, calc(100vw - 32px));
    padding: 10px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 9, 13, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
}

.modern-menu nav a {
    padding: 12px 13px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

.modern-menu nav a:hover,
.modern-menu nav a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* Hero */
.modern-hero {
    position: relative;
    min-height: max(760px, 100svh);
    overflow: hidden;
    isolation: isolate;
    background: var(--modern-black);
}

.modern-hero-media,
.modern-hero-shade {
    position: absolute;
    inset: 0;
}

.modern-hero-media {
    z-index: 0;
    inset: -1.5%;
}

.modern-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 42%;
    animation: modern-hero-scope 24s ease-in-out infinite alternate;
    will-change: transform;
}

.modern-hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 7, 11, 0.95) 0%, rgba(3, 7, 11, 0.72) 38%, rgba(3, 7, 11, 0.22) 75%, rgba(3, 7, 11, 0.1) 100%),
        linear-gradient(180deg, rgba(3, 7, 11, 0.22), transparent 45%, rgba(3, 7, 11, 0.92) 100%);
}

@keyframes modern-hero-scope {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.055) translate3d(-0.55%, -0.25%, 0); }
}

.modern-hero-inner {
    position: relative;
    z-index: 2;
    min-height: max(664px, calc(100svh - 112px));
    display: flex;
    align-items: center;
    padding-block: 96px 44px;
}

.modern-hero-content {
    max-width: 1040px;
}

.modern-eyebrow {
    margin: 0 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: rgba(224, 239, 249, 0.76);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modern-eyebrow span {
    width: 38px;
    height: 2px;
    display: block;
    background: var(--modern-blue-bright);
}

.modern-eyebrow.dark {
    color: #5e6a75;
}

.modern-eyebrow.ink {
    color: #43515d;
}

.modern-hero h1,
.modern-intro h2,
.modern-section-heading h2,
.modern-applications h2,
.modern-final h2,
.modern-panel-copy strong,
.modern-installation-overlay h3,
.modern-service-copy h3 {
    font-family: "Inter Tight", Arial, sans-serif;
    text-wrap: balance;
}

.modern-hero h1 {
    max-width: 22ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3.75rem, 4.8vw, 4.85rem);
    font-weight: 650;
    letter-spacing: 0;
    line-height: 0.96;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.28);
}

.modern-hero h1 em {
    color: #c6d1da;
    font-style: normal;
    font-weight: 500;
}

.modern-hero-copy {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(232, 240, 246, 0.78);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    line-height: 1.75;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.modern-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modern-button-primary {
    border-color: #fff;
    background: #fff;
    color: #07101a !important;
}

.modern-button-primary:hover {
    border-color: #dce7ee;
    background: #dce7ee;
}

.modern-button-builder {
    border-color: #0878be;
    background: #0878be;
    color: #fff !important;
}

.modern-button-builder:hover,
.modern-button-builder:focus-visible {
    border-color: #0797e7;
    background: #0797e7;
    color: #fff !important;
}

.modern-button-ghost {
    border-color: rgba(255, 255, 255, 0.54);
    background: rgba(5, 10, 15, 0.32);
    color: #fff !important;
    backdrop-filter: blur(10px);
}

.modern-button-ghost:hover {
    border-color: #fff;
    background: rgba(5, 10, 15, 0.62);
}

.modern-proof-rail {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(5, 8, 12, 0.76);
    backdrop-filter: blur(18px) saturate(1.1);
}

.modern-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.modern-proof-grid a {
    position: relative;
    min-height: 112px;
    margin: 0;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.modern-proof-grid a::after {
    position: absolute;
    top: 22px;
    right: 20px;
    content: "\2197";
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.86rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modern-proof-grid a:hover,
.modern-proof-grid a:focus-visible {
    background: rgba(8, 120, 190, 0.16);
    box-shadow: inset 0 -3px 0 var(--modern-blue-bright);
    color: #fff;
}

.modern-proof-grid a:hover::after,
.modern-proof-grid a:focus-visible::after {
    color: var(--modern-blue-bright);
    transform: translate(2px, -2px);
}

.modern-proof-grid a:focus-visible {
    outline: 2px solid var(--modern-blue-bright);
    outline-offset: -2px;
}

.modern-proof-grid a:last-child {
    border-right: 0;
}

.modern-proof-grid span {
    color: var(--modern-blue-bright);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
}

/* Intro */
.modern-intro {
    padding: clamp(100px, 11vw, 164px) 0;
    background: var(--modern-black);
}

.modern-intro-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1.68fr);
    gap: clamp(34px, 7vw, 110px);
    align-items: start;
}

.modern-section-label {
    margin: 9px 0 0;
    color: #6f7e8b;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modern-intro h2 {
    max-width: 22ch;
    margin: 0;
    font-size: clamp(3rem, 4.8vw, 5.25rem);
    font-weight: 560;
    letter-spacing: 0;
    line-height: 1.04;
}

.modern-intro-grid > div > p {
    max-width: 720px;
    margin: 32px 0 0;
    color: var(--modern-muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.modern-capability-line {
    margin-top: clamp(64px, 8vw, 110px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--modern-line);
    border-bottom: 1px solid var(--modern-line);
}

.modern-capability-line div {
    min-height: 136px;
    padding: 26px 24px;
    display: grid;
    align-content: center;
    gap: 10px;
    border-right: 1px solid var(--modern-line);
}

.modern-capability-line div:last-child {
    border-right: 0;
}

.modern-capability-line span {
    color: var(--modern-blue-bright);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.modern-capability-line strong {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
}

/* Shared headings */
.modern-section-heading {
    margin-bottom: clamp(42px, 6vw, 78px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    gap: 50px;
    align-items: end;
}

.modern-section-heading h2,
.modern-applications h2 {
    max-width: 20ch;
    margin: 0;
    color: var(--modern-ink);
    font-size: clamp(3rem, 4.45vw, 4.8rem);
    font-weight: 580;
    letter-spacing: 0;
    line-height: 1.04;
}

.modern-section-heading > p {
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--modern-blue);
    color: #344653;
    font-size: 1.04rem;
    font-weight: 560;
    line-height: 1.7;
}

.modern-section-heading > a {
    margin: 0;
    color: #354552;
    line-height: 1.75;
}

.light-heading h2 {
    color: #fff;
}

.light-heading > p {
    border-left-color: var(--modern-blue-bright);
    color: #d8e8f2;
}

/* Systems */
.modern-systems {
    padding: clamp(96px, 10vw, 150px) 0;
    background: var(--modern-surface);
    color: var(--modern-ink);
}

.modern-system-panels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    background: #b8c1c8;
}

.modern-system-panel {
    position: relative;
    min-height: min(720px, 74svh);
    overflow: hidden;
    isolation: isolate;
    background: #0a1016;
}

.modern-system-panel > img,
.modern-project-tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.2, 0.72, 0.2, 1);
}

.modern-system-panel:nth-child(1) > img {
    object-position: 52% center;
}

.modern-system-panel:nth-child(2) > img {
    object-position: 50% 48%;
}

.modern-system-panel:nth-child(3) > img {
    object-position: 50% 48%;
}

.modern-panel-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(3, 7, 11, 0.08) 28%, rgba(3, 7, 11, 0.9) 100%);
}

.modern-panel-index {
    position: absolute;
    top: 26px;
    left: 28px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modern-panel-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: clamp(28px, 4vw, 52px);
    display: grid;
    gap: 15px;
    color: #fff;
}

.modern-panel-copy strong {
    font-size: clamp(2.15rem, 3vw, 3.5rem);
    font-weight: 580;
    letter-spacing: 0;
    line-height: 1.02;
}

.modern-panel-copy strong span {
    display: block;
}

.modern-panel-copy > span:not(.modern-text-link) {
    max-width: 560px;
    color: rgba(235, 242, 247, 0.75);
    font-size: 0.93rem;
    line-height: 1.65;
}

.modern-system-panel:hover > img,
.modern-system-panel:focus-visible > img,
.modern-project-tile:hover > img,
.modern-project-tile:focus-visible > img {
    transform: scale(1.025);
}

.modern-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #15202b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.modern-text-link b {
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.18s ease;
}

.modern-text-link:hover b,
.modern-system-panel:hover .modern-text-link b {
    transform: translate(2px, -2px);
}

.modern-panel-copy .modern-text-link,
.modern-text-link.light {
    color: #fff;
}

.modern-text-link.dark {
    justify-self: end;
}

.modern-system-index {
    border-bottom: 1px solid var(--modern-dark-line);
}

.modern-system-index a {
    min-height: 108px;
    display: grid;
    grid-template-columns: 54px minmax(190px, 0.45fr) minmax(0, 1fr) 24px;
    gap: 22px;
    align-items: center;
    border-top: 1px solid var(--modern-dark-line);
    transition: color 0.18s ease;
}

.modern-system-index a > span {
    color: var(--modern-blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.modern-system-index a > strong {
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: clamp(1.35rem, 2.1vw, 2.1rem);
    font-weight: 580;
    letter-spacing: 0;
}

.modern-system-index a > small {
    color: #65717b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.modern-system-index a > b {
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.18s ease;
}

.modern-system-index a:hover,
.modern-system-index a:focus-visible {
    color: var(--modern-blue);
}

.modern-system-index a:hover > b {
    transform: translate(2px, -2px);
}

/* Applications */
.modern-applications {
    position: relative;
    padding: clamp(100px, 10vw, 154px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(24, 160, 223, 0.1), transparent 32rem),
        linear-gradient(180deg, #fff 0%, #f1f5f8 100%);
    color: var(--modern-ink);
}

.modern-applications-grid {
    display: grid;
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(52px, 6.5vw, 96px);
    align-items: start;
}

.modern-applications h2 {
    max-width: 18ch;
    font-size: clamp(2.9rem, 3.65vw, 4.05rem);
}

.modern-applications-intro {
    position: sticky;
    top: 112px;
}

.modern-applications-intro > p:last-child {
    max-width: 520px;
    margin: 28px 0 0;
    color: #5c6873;
    line-height: 1.75;
}

.modern-application-list {
    display: grid;
    gap: 14px;
}

.modern-application-list article {
    min-height: 0;
    padding: clamp(24px, 2.3vw, 34px);
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(7, 16, 26, 0.11);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 4px 0 var(--modern-blue),
        0 16px 38px rgba(8, 25, 39, 0.07);
}

.modern-application-list article:nth-child(even) {
    margin-left: clamp(0px, 2vw, 24px);
    background: linear-gradient(110deg, #fff, #f2f9fc);
}

.modern-application-list article > span {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(8, 120, 190, 0.28);
    border-radius: 2px;
    background: #e8f4fb;
    color: var(--modern-blue);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.modern-application-list h3 {
    margin: 0;
    color: var(--modern-ink);
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: clamp(1.55rem, 2.5vw, 2.45rem);
    font-weight: 580;
    letter-spacing: 0;
    line-height: 1.08;
}

.modern-application-list p {
    max-width: 650px;
    margin: 13px 0 0;
    color: #64707a;
    font-size: 0.92rem;
    line-height: 1.68;
}

.modern-scope-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.55fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: center;
    margin-top: clamp(64px, 7vw, 96px);
    padding: clamp(30px, 3.5vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 4px solid var(--modern-blue-bright);
    background:
        linear-gradient(115deg, rgba(8, 120, 190, 0.24), transparent 48%),
        #08131e;
    box-shadow: 0 28px 60px -40px rgba(0, 0, 0, 0.75);
}

.modern-scope-strip p {
    margin: 0;
    color: #fff;
    font-size: clamp(0.86rem, 1vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 2;
    text-transform: uppercase;
}

.modern-scope-strip p span {
    margin-inline: 8px;
    color: #48baf2;
}

.modern-scope-strip small {
    display: block;
    margin: 0;
    padding-left: clamp(20px, 2.5vw, 34px);
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    color: #d4dee6;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Field execution */
.modern-field {
    padding: clamp(100px, 10vw, 154px) 0;
    background: var(--modern-black-2);
}

.modern-installation-stage {
    position: relative;
    min-height: min(760px, 78svh);
    overflow: hidden;
    background: #0b1219;
}

.modern-installation-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 8, 12, 0.88) 0%, rgba(4, 8, 12, 0.3) 58%, rgba(4, 8, 12, 0.04) 100%);
}

.modern-installation-stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modern-installation-overlay {
    position: relative;
    z-index: 2;
    width: min(720px, 64%);
    min-height: min(760px, 78svh);
    padding: clamp(38px, 4.5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-installation-overlay > span {
    margin-bottom: 20px;
    color: #83c9ef;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.modern-installation-overlay h3,
.modern-service-copy h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    font-weight: 580;
    letter-spacing: 0;
    line-height: 0.98;
}

.modern-installation-overlay .modern-installation-title {
    max-width: 100%;
    font-size: clamp(2.75rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.012em;
    text-wrap: pretty;
}

.modern-installation-overlay p,
.modern-service-copy > p {
    margin: 26px 0 0;
    color: var(--modern-muted);
    line-height: 1.75;
}

.modern-installation-overlay p {
    max-width: 54ch;
}

.modern-installation-overlay .modern-text-link {
    margin-top: 30px;
}

.modern-service-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    background: #0d151d;
}

.modern-service-copy {
    padding: clamp(42px, 6vw, 86px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-service-copy ul {
    margin: 30px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid var(--modern-line);
}

.modern-service-copy li {
    padding: 13px 0;
    border-bottom: 1px solid var(--modern-line);
    color: #d3dce3;
    font-size: 0.82rem;
}

.modern-button-outline {
    align-self: flex-start;
    border-color: #169ede;
    background: #0878be;
    box-shadow: 0 12px 30px rgba(0, 120, 190, 0.28);
    color: #fff !important;
}

.modern-button-outline:hover {
    border-color: #87d8ff;
    background: #159edc;
    box-shadow: 0 15px 36px rgba(0, 136, 208, 0.36);
    color: #fff !important;
}

.modern-service-media {
    min-height: 650px;
    overflow: hidden;
}

.modern-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.modern-authority-line {
    padding: 32px 0;
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
    gap: 50px;
    align-items: center;
    border-top: 1px solid var(--modern-line);
    border-bottom: 1px solid var(--modern-line);
}

.modern-authority-line strong {
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    font-weight: 580;
    letter-spacing: 0;
}

.modern-authority-line p {
    margin: 0;
    color: var(--modern-muted);
    font-size: 0.9rem;
}

.modern-authority-line a {
    color: var(--modern-blue-dark, #005f9f);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.modern-authority-line a:hover,
.modern-authority-line a:focus-visible {
    color: #003f6d;
}

/* Projects */
.modern-projects {
    padding: clamp(100px, 10vw, 154px) 0;
    background: var(--modern-surface);
    color: var(--modern-ink);
}

.modern-project-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2px;
    background: #aeb8bf;
}

.modern-project-tile {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    isolation: isolate;
    background: #0b1117;
}

.modern-project-tile.tile-wide {
    grid-column: span 7;
}

.modern-project-tile.tile-narrow {
    grid-column: span 5;
}

.modern-project-tile:nth-child(1) img,
.modern-project-tile:nth-child(3) img {
    object-position: center 36%;
}

.modern-project-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 28px;
    display: grid;
    gap: 10px;
    color: #fff;
}

.modern-project-copy small {
    color: #8ecdec;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.modern-project-copy strong {
    max-width: 560px;
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: clamp(1.55rem, 2.7vw, 2.7rem);
    font-weight: 580;
    letter-spacing: 0;
    line-height: 1.05;
}

/* Final CTA */
.modern-final {
    position: relative;
    min-height: min(760px, 86svh);
    overflow: hidden;
    isolation: isolate;
    background: #061321;
}

.modern-final-media,
.modern-final-shade {
    position: absolute;
    inset: 0;
}

.modern-final-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(0.88) contrast(1.06);
}

.modern-final-shade {
    background:
        linear-gradient(90deg, rgba(3, 8, 14, 0.94) 0%, rgba(3, 8, 14, 0.72) 48%, rgba(3, 8, 14, 0.22) 100%),
        linear-gradient(180deg, rgba(4, 12, 21, 0.18), rgba(4, 12, 21, 0.68));
}

.modern-final-inner {
    position: relative;
    z-index: 2;
    min-height: min(760px, 86svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.modern-final h2 {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 580;
    letter-spacing: 0;
    line-height: 0.94;
}

.modern-final-inner > p:not(.modern-eyebrow) {
    max-width: 610px;
    margin: 28px 0 0;
    color: rgba(231, 239, 245, 0.76);
    font-size: 1rem;
    line-height: 1.75;
}

/* Footer */
.modern-footer {
    padding: 56px 0 44px;
    border-top: 1px solid var(--modern-line);
    background: #030609;
}

.modern-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 50px;
    align-items: end;
}

.modern-footer .modern-brand img {
    width: 44px;
    height: 44px;
}

.modern-footer-grid > div > p {
    max-width: 420px;
    margin: 20px 0 0;
    color: #6f7c87;
    font-size: 0.85rem;
}

.modern-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.modern-footer nav a {
    color: #8c99a4;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.modern-footer nav a:hover,
.modern-footer nav a:focus-visible {
    color: #fff;
}

.modern-footer-note {
    margin: 0;
    color: #bac4cc;
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 560;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 1180px) {
    .modern-nav {
        display: none;
    }

    .modern-menu {
        display: block;
    }
}

@media (max-width: 1000px) {
    .modern-container {
        width: min(100% - 40px, 1400px);
    }

    .modern-proof-rail {
        position: relative;
    }

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

    .modern-proof-grid a:nth-child(2),
    .modern-capability-line div:nth-child(2) {
        border-right: 0;
    }

    .modern-proof-grid a:nth-child(-n + 2),
    .modern-capability-line div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--modern-line);
    }

    .modern-intro-grid,
    .modern-section-heading,
    .modern-applications-grid,
    .modern-service-stage,
    .modern-authority-line {
        grid-template-columns: 1fr;
    }

    .modern-intro-grid,
    .modern-applications-grid {
        gap: 42px;
    }

    .modern-applications-intro {
        position: static;
    }

    .modern-application-list article:nth-child(even) {
        margin-left: 0;
    }

    .modern-scope-strip {
        grid-template-columns: 1fr;
    }

    .modern-scope-strip small {
        padding: 18px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }

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

    .modern-system-panel {
        min-height: 520px;
    }

    .modern-system-panel:nth-child(3) {
        grid-column: 1 / -1;
        min-height: 460px;
    }

    .modern-installation-overlay {
        width: min(680px, 78%);
    }

    .modern-service-media {
        min-height: 520px;
        order: -1;
    }

    .modern-authority-line {
        gap: 16px;
    }

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

    .modern-project-tile.tile-wide,
    .modern-project-tile.tile-narrow {
        grid-column: auto;
    }

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

    .modern-footer-note {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .modern-container {
        width: calc(100% - 28px);
    }

    .modern-header-inner {
        min-height: 72px;
        gap: 9px;
    }

    .modern-brand img {
        width: 44px;
        height: 44px;
    }

    .modern-brand-copy span,
    .modern-header-cta {
        display: none;
    }

    .modern-hero {
        min-height: 0;
    }

    .modern-hero-inner {
        min-height: 600px;
    }

    .modern-hero-media img {
        object-position: 61% 42%;
    }

    .modern-hero-shade {
        background:
            linear-gradient(90deg, rgba(3, 7, 11, 0.92), rgba(3, 7, 11, 0.45)),
            linear-gradient(180deg, rgba(3, 7, 11, 0.22), rgba(3, 7, 11, 0.86));
    }

    .modern-hero-inner {
        padding-block: 104px 48px;
    }

    .modern-hero h1 {
        max-width: 15ch;
        font-size: clamp(2.4rem, 10.5vw, 2.8rem);
        line-height: 1.02;
    }

    .modern-hero-copy {
        margin-top: 16px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .modern-actions {
        margin-top: 22px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .modern-button {
        width: 100%;
    }

    .modern-capability-line,
    .modern-project-grid,
    .modern-service-copy ul,
    .modern-footer-grid {
        grid-template-columns: 1fr;
    }

    .modern-capability-line div,
    .modern-capability-line div:nth-child(2) {
        min-height: 88px;
        border-right: 0;
        border-bottom: 1px solid var(--modern-line);
    }

    .modern-capability-line div:last-child {
        border-bottom: 0;
    }

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

    .modern-proof-grid a,
    .modern-proof-grid a:nth-child(2) {
        min-height: 82px;
        padding: 12px;
        gap: 4px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid var(--modern-line);
        font-size: 0.68rem;
        letter-spacing: 0.035em;
        line-height: 1.35;
    }

    .modern-proof-grid a:nth-child(even) {
        border-right: 0;
    }

    .modern-proof-grid a:nth-child(n + 3) {
        border-bottom: 0;
    }

    .modern-proof-grid span {
        font-size: 0.58rem;
    }

    .modern-intro,
    .modern-systems,
    .modern-applications,
    .modern-field,
    .modern-projects {
        padding-block: 68px;
    }

    .modern-intro h2,
    .modern-section-heading h2,
    .modern-applications h2 {
        max-width: 100%;
        font-size: clamp(2.45rem, 10.5vw, 3.65rem);
        letter-spacing: 0;
        line-height: 1.04;
    }

    .modern-section-heading {
        gap: 24px;
    }

    .modern-system-panel {
        min-height: 430px;
    }

    .modern-system-panels {
        grid-template-columns: 1fr;
    }

    .modern-system-panel:nth-child(3) {
        grid-column: auto;
        min-height: 430px;
    }

    .modern-panel-copy strong {
        font-size: clamp(2.2rem, 10vw, 3.35rem);
    }

    .modern-system-index a {
        min-height: 132px;
        padding-block: 20px;
        grid-template-columns: 38px 1fr 20px;
        gap: 12px;
    }

    .modern-system-index a > small {
        grid-column: 2 / -1;
    }

    .modern-application-list article {
        min-height: 0;
        padding: 22px 18px;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .modern-application-list article > span {
        width: 36px;
        height: 36px;
    }

    .modern-application-list {
        gap: 10px;
    }

    .modern-scope-strip {
        margin-top: 48px;
        padding: 26px 22px;
    }

    .modern-scope-strip p {
        font-size: 0.82rem;
        letter-spacing: 0.055em;
        overflow-wrap: anywhere;
    }

    .modern-scope-strip p span {
        margin-inline: 3px;
    }

    .modern-installation-stage,
    .modern-installation-overlay {
        min-height: 650px;
    }

    .modern-installation-stage::after {
        background: linear-gradient(90deg, rgba(4, 8, 12, 0.9), rgba(4, 8, 12, 0.42));
    }

    .modern-installation-stage > img {
        object-position: 60% center;
    }

    .modern-installation-overlay {
        width: 100%;
        padding: 28px;
    }

    .modern-installation-overlay .modern-installation-title {
        font-size: clamp(2rem, 10vw, 3.25rem);
        line-height: 1.1;
    }

    .modern-service-copy h3 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .modern-service-copy {
        padding: 34px 28px 44px;
    }

    .modern-service-media {
        min-height: 360px;
    }

    .modern-authority-line {
        padding-block: 26px;
    }

    .modern-project-tile {
        min-height: 360px;
    }

    .modern-final,
    .modern-final-inner {
        min-height: 680px;
    }

    .modern-final-media img {
        object-position: 58% center;
    }

    .modern-final h2 {
        font-size: clamp(3.5rem, 15vw, 5.2rem);
    }

    .modern-footer nav {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modern-hero-media img {
        animation: none;
        transform: scale(1.035);
        will-change: auto;
    }

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

/* WordPress production integration: retain the native Elementor header/footer. */
body.home.imh-site-core-active {
    background: var(--modern-black, #05080c);
}

body.home.imh-site-core-active :where(#content, .site-main, .page-content, .entry-content) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.home.imh-site-core-active .imh-home-v2 {
    width: 100%;
    max-width: none;
    overflow: clip;
}

body.home.imh-site-core-active .elementor-location-header {
    position: absolute !important;
    inset: 0 0 auto;
    z-index: 1000;
    width: 100%;
}

body.home.imh-site-core-active .elementor-location-header .elementor-element-377534d {
    background: rgba(3, 8, 13, 0.72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(12px) saturate(1.08);
}

body.home.imh-site-core-active .elementor-location-header .elementor-element-97bdb1e:not(.elementor-sticky--effects) {
    background: rgba(246, 250, 253, 0.82) !important;
    border-bottom: 1px solid rgba(6, 39, 66, 0.12);
    box-shadow: 0 8px 28px rgba(2, 16, 28, 0.1) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.14);
    backdrop-filter: blur(20px) saturate(1.14);
}

body.home.imh-site-core-active .elementor-location-header .elementor-element-97bdb1e.elementor-sticky--effects {
    background: rgba(249, 252, 254, 0.94) !important;
    border-bottom: 1px solid rgba(6, 39, 66, 0.14);
    box-shadow: 0 10px 30px rgba(2, 16, 28, 0.12) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    backdrop-filter: blur(20px) saturate(1.1);
}

body.home.imh-site-core-active .elementor-location-header .elementor-element-2e20e83 img {
    width: auto;
    max-width: 150px;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    filter: drop-shadow(0 4px 12px rgba(2, 29, 51, 0.12));
}

@media (max-width: 1024px) {
    body.home.imh-site-core-active .elementor-location-header .elementor-element-2e20e83 img {
        max-width: 124px;
    }
}

@media (max-width: 767px) {
    body.home.imh-site-core-active .elementor-location-header .elementor-element-2e20e83 img {
        max-width: 110px;
    }
}

body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--main .elementor-item {
    position: relative;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: inset 0 -2px transparent;
    color: #172f42 !important;
    font-size: clamp(0.64rem, 0.62vw, 0.68rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.18s ease, box-shadow 0.18s ease;
}

body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--main .elementor-item:focus-visible,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--main .current-menu-ancestor > .elementor-item {
    background: transparent !important;
    box-shadow: inset 0 -2px var(--modern-blue-bright, #18a0df);
    color: #005f9f !important;
}

body.home.imh-site-core-active .elementor-location-header .elementor-element-f01a93a .elementor-button {
    min-height: 46px;
    border: 1px solid #082b48;
    border-radius: 3px;
    background: rgba(8, 43, 72, 0.94);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

@media (min-width: 1280px) {
	body.home.imh-site-core-active .elementor-location-header #menu-1-39574d6 {
        display: flex !important;
        width: 100%;
        min-height: 72px;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
		gap: 0;
    }

    body.home.imh-site-core-active .elementor-location-header #menu-1-39574d6 > li {
        width: auto;
        border: 0 !important;
        flex: 0 0 auto;
    }

    body.home.imh-site-core-active .elementor-location-header #menu-1-39574d6 > li > .elementor-item {
        min-height: 72px;
		padding: 0 clamp(0.42rem, 0.58vw, 0.7rem) !important;
        justify-content: center;
        white-space: nowrap;
    }
}

@media (max-width: 700px) {
    /* Keep the primary conversion controls in the unobscured first viewport;
       the proof rail begins below the fixed mobile action bar. */
    .modern-hero-inner {
        min-height: 100svh;
    }
}

@media (max-width: 360px) {
    .modern-hero h1 {
        font-size: clamp(2.1rem, 10.5vw, 2.35rem);
    }

    .modern-actions {
        gap: 9px;
    }

    .modern-button {
        min-height: 48px;
    }
}

body.home.imh-site-core-active .elementor-location-header .elementor-element-f01a93a .elementor-button:hover,
body.home.imh-site-core-active .elementor-location-header .elementor-element-f01a93a .elementor-button:focus-visible {
    border-color: var(--modern-blue-bright, #18a0df);
    background: var(--modern-blue, #0878be);
}

body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--main .sub-menu,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--dropdown {
    background: rgba(250, 253, 255, 0.99);
    border-color: rgba(8, 43, 72, 0.16);
}

body.home.imh-site-core-active .elementor-location-header .elementor-sub-item,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
    background: transparent !important;
    color: #173249 !important;
}

body.home.imh-site-core-active .elementor-location-header .elementor-sub-item:hover,
body.home.imh-site-core-active .elementor-location-header .elementor-sub-item:focus-visible,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--dropdown .elementor-item:focus-visible,
body.home.imh-site-core-active .elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
    background: rgba(24, 160, 223, 0.13) !important;
    color: #005f9f !important;
}

body.home.imh-site-core-active .elementor-location-header .elementor-menu-toggle {
    border: 1px solid rgba(8, 43, 72, 0.46);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.78);
    color: #082b48;
}

body.home.imh-site-core-active :where(#systems, #applications, #installation, #service, #projects, #contact) {
    scroll-margin-top: 96px;
}

@media (max-width: 1024px) {
    body.home.imh-site-core-active .elementor-location-header .elementor-element-97bdb1e,
    body.home.imh-site-core-active .elementor-location-header .elementor-element-97bdb1e.elementor-sticky--effects {
        background: rgba(249, 252, 254, 0.96) !important;
    }
}
