/*
Theme Name: E-3 Systems
Theme URI: https://e-3systems.com/
Author: E-3 Systems
Description: Custom lightweight WordPress theme for E-3 Systems.
Version: 1.0.0
Text Domain: e3systems
*/

:root {
    --e3-navy: #052954;
    --e3-blue: #0e5aa7;
    --e3-red: #b0121c;
    --e3-ink: #172033;
    --e3-muted: #5e6879;
    --e3-line: #dce3ec;
    --e3-soft: #f4f7fb;
    --e3-white: #ffffff;
    --e3-shadow: 0 18px 50px rgba(5, 41, 84, 0.11);
    --e3-radius: 18px;
    --e3-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--e3-ink);
    background: var(--e3-white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--e3-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--e3-red);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--e3-navy);
    font-family: Montserrat, "Segoe UI", Arial, sans-serif;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.7rem, 7vw, 5.6rem);
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-top: 0;
}

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

.e3-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 12px 18px;
    color: var(--e3-white);
    background: var(--e3-navy);
}

.e3-skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(220, 227, 236, 0.85);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
}

.e3-header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.custom-logo-link {
    width: min(260px, 48vw);
    text-decoration: none;
}

.custom-logo {
    width: 100%;
}

.e3-site-name {
    color: var(--e3-navy);
    font-family: Montserrat, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}

.e3-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.e3-menu a {
    color: var(--e3-navy);
    font-family: Montserrat, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.e3-menu a:hover,
.e3-menu .current-menu-item > a {
    color: var(--e3-red);
}

.e3-menu-toggle {
    display: none;
    border: 0;
    padding: 10px 13px;
    color: var(--e3-white);
    background: var(--e3-navy);
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
}

.e3-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 11vw, 150px) 0;
    color: var(--e3-white);
    background:
        radial-gradient(circle at 80% 20%, rgba(14, 90, 167, 0.85), transparent 35%),
        linear-gradient(135deg, #031c3b 0%, var(--e3-navy) 65%, #0b4382 100%);
}

.e3-hero::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -240px;
    width: 620px;
    height: 620px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.e3-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: 70px;
}

.e3-kicker {
    margin-bottom: 16px;
    color: #a9d1ff;
    font-family: Montserrat, sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.e3-hero h1 {
    margin-bottom: 24px;
    color: var(--e3-white);
}

.e3-hero-copy {
    max-width: 720px;
    margin-bottom: 34px;
    color: #dcecff;
    font-size: clamp(1.1rem, 2vw, 1.32rem);
}

.e3-hero-logo {
    padding: 34px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.e3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.e3-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: Montserrat, sans-serif;
    font-size: 0.93rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.e3-button-primary {
    color: var(--e3-white);
    background: var(--e3-red);
}

.e3-button-primary:hover {
    color: var(--e3-white);
    background: #8f0f17;
}

.e3-button-light {
    color: var(--e3-navy);
    background: var(--e3-white);
}

.e3-button-outline {
    color: var(--e3-white);
    border-color: rgba(255, 255, 255, 0.55);
}

.e3-button-outline:hover {
    color: var(--e3-navy);
    background: var(--e3-white);
}

.e3-section {
    padding: clamp(72px, 9vw, 118px) 0;
}

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

.e3-section-dark {
    color: var(--e3-white);
    background: var(--e3-navy);
}

.e3-section-dark h2,
.e3-section-dark h3 {
    color: var(--e3-white);
}

.e3-section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.e3-section-heading p {
    color: var(--e3-muted);
    font-size: 1.13rem;
}

.e3-grid {
    display: grid;
    gap: 24px;
}

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

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

.e3-card {
    height: 100%;
    padding: 34px;
    border: 1px solid var(--e3-line);
    background: var(--e3-white);
    border-radius: var(--e3-radius);
    box-shadow: 0 8px 28px rgba(5, 41, 84, 0.06);
}

.e3-card-number {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--e3-white);
    background: var(--e3-red);
    border-radius: 12px;
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}

.e3-band {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: var(--e3-navy);
}

.e3-band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    color: var(--e3-white);
}

.e3-band strong {
    display: block;
    color: var(--e3-white);
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
}

.e3-band span {
    color: #c5d9ef;
}

.e3-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(40px, 8vw, 90px);
}

.e3-checks {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.e3-checks li {
    position: relative;
    margin-bottom: 13px;
    padding-left: 34px;
}

.e3-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--e3-red);
    font-weight: 900;
}

.e3-callout {
    padding: clamp(45px, 7vw, 76px);
    color: var(--e3-white);
    background: linear-gradient(135deg, var(--e3-blue), var(--e3-navy));
    border-radius: 28px;
    box-shadow: var(--e3-shadow);
}

.e3-callout h2 {
    color: var(--e3-white);
}

.e3-page-header {
    padding: 82px 0 68px;
    color: var(--e3-white);
    background: linear-gradient(135deg, var(--e3-navy), #0c4f95);
}

.e3-page-header h1 {
    margin-bottom: 0;
    color: var(--e3-white);
    font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.e3-content {
    padding: 70px 0 100px;
}

.e3-content > * {
    max-width: 850px;
}

.e3-content .alignwide {
    max-width: var(--e3-width);
}

.site-footer {
    padding: 68px 0 26px;
    color: #c7d5e6;
    background: #03172f;
}

.e3-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 45px;
}

.site-footer h3 {
    color: var(--e3-white);
}

.site-footer a {
    color: #dbeaff;
}

.e3-footer-bottom {
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .e3-menu-toggle {
        display: inline-flex;
    }

    .e3-nav {
        position: absolute;
        top: 88px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 22px;
        border: 1px solid var(--e3-line);
        background: var(--e3-white);
        border-radius: 14px;
        box-shadow: var(--e3-shadow);
    }

    .e3-nav.is-open {
        display: block;
    }

    .e3-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .e3-hero-grid,
    .e3-split,
    .e3-footer-grid {
        grid-template-columns: 1fr;
    }

    .e3-hero-logo {
        max-width: 520px;
    }

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

@media (max-width: 620px) {
    .e3-container {
        width: min(calc(100% - 28px), var(--e3-width));
    }

    .e3-grid-3,
    .e3-grid-2,
    .e3-band-grid {
        grid-template-columns: 1fr;
    }

    .e3-card {
        padding: 27px;
    }

    .e3-hero {
        padding-top: 72px;
    }
}


/* ==========================================================
   PHASE 2 — BRAND HEADER AND HERO REFINEMENTS
   ========================================================== */

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

.e3-header-logo {
    display: block;
    width: 210px;
    text-decoration: none;
}

.e3-header-logo img {
    display: block;
    width: 100%;
    height: 66px;
    object-fit: contain;
    object-position: left center;
}

.e3-header-inner {
    min-height: 92px;
}

.e3-hero {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.e3-hero-grid {
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(330px, 0.65fr);
    gap: clamp(42px, 6vw, 82px);
}

.e3-hero h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 6.2vw, 5.35rem);
    line-height: 1.03;
}

.e3-hero-copy {
    max-width: 690px;
}

.e3-hero-logo {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1),
            rgba(241, 246, 252, 0.98)
        );
    border-radius: 28px;
}

.e3-hero-logo::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -65px;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(14, 90, 167, 0.12);
    border-radius: 50%;
}

.e3-hero-logo img {
    position: relative;
    z-index: 2;
    width: 100%;
}

.e3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    mask-image:
        linear-gradient(
            to right,
            transparent,
            black 40%,
            black
        );
}

.e3-hero-grid {
    position: relative;
    z-index: 3;
}

@media (max-width: 900px) {
    .e3-header-logo {
        width: 176px;
    }

    .e3-header-logo img {
        height: 60px;
    }

    .e3-hero {
        min-height: auto;
        padding-top: 78px;
        padding-bottom: 82px;
    }

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

    .e3-hero-logo {
        max-width: 500px;
    }
}

@media (max-width: 620px) {
    .e3-header-inner {
        min-height: 78px;
    }

    .e3-header-logo {
        width: 145px;
    }

    .e3-header-logo img {
        height: 52px;
    }

    .e3-nav {
        top: 78px;
    }

    .e3-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }
}


/* ==========================================================
   PHASE 3 FIXED — OFFICIAL E-3 BRAND ASSETS
   ========================================================== */

.e3-header-logo {
    display: flex;
    width: 130px;
    height: 62px;
    align-items: center;
    overflow: visible;
}

.e3-header-logo img {
    display: block;
    width: 130px;
    height: 62px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    transform: none;
}

.e3-hero-logo img {
    display: block;
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 620px) {
    .e3-header-logo {
        width: 108px;
        height: 52px;
    }

    .e3-header-logo img {
        width: 108px;
        height: 52px;
    }
}


/* ==========================================================
   PHASE 4 — RESTORED-SITE CONTENT COMPONENTS
   ========================================================== */

.e3-page-intro {
    max-width: 850px;
    margin-bottom: 54px;
}

.e3-lead {
    color: var(--e3-muted);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.e3-history-card {
    position: relative;
    overflow: hidden;
}

.e3-history-year {
    margin-bottom: 14px;
    color: rgba(14, 90, 167, 0.16);
    font-family: Montserrat, sans-serif;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.85;
}

.e3-text-link {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    text-decoration: none;
}

.e3-feature-panel {
    position: relative;
    height: 100%;
    padding: 34px 34px 34px 38px;
    border-left: 5px solid var(--e3-red);
    background: var(--e3-soft);
    border-radius: 0 var(--e3-radius) var(--e3-radius) 0;
}

.e3-feature-panel h3 {
    margin-bottom: 12px;
}

.e3-dark-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
    align-items: center;
    gap: 60px;
}

.e3-dark-layout p {
    color: #c5d9ef;
    font-size: 1.12rem;
}

.e3-dark-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.e3-phone-link {
    color: var(--e3-white);
    font-family: Montserrat, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

.e3-phone-link:hover {
    color: #b9d9ff;
}

.e3-process-list {
    display: grid;
    margin: 34px 0;
    padding: 0;
    counter-reset: e3-process;
    list-style: none;
    gap: 18px;
}

.e3-process-list li {
    position: relative;
    padding: 27px 28px 27px 78px;
    border: 1px solid var(--e3-line);
    background: var(--e3-white);
    border-radius: 14px;
}

.e3-process-list li::before {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--e3-white);
    background: var(--e3-red);
    border-radius: 10px;
    counter-increment: e3-process;
    content: counter(e3-process);
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}

.e3-contact-value {
    color: var(--e3-navy);
    font-family: Montserrat, sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
}

.e3-contact-value a {
    text-decoration: none;
}

.e3-notice {
    margin-top: 40px;
    padding: 24px 28px;
    border: 1px solid #f2d47c;
    background: #fff8df;
    border-radius: 14px;
}

@media (max-width: 900px) {
    .e3-dark-layout {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   PHASE 4 — RESTORED-SITE CONTENT COMPONENTS
   ========================================================== */

.e3-page-intro {
    max-width: 850px;
    margin-bottom: 54px;
}

.e3-lead {
    color: var(--e3-muted);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.e3-history-card {
    position: relative;
    overflow: hidden;
}

.e3-history-year {
    margin-bottom: 14px;
    color: rgba(14, 90, 167, 0.16);
    font-family: Montserrat, sans-serif;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.85;
}

.e3-text-link {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    text-decoration: none;
}

.e3-feature-panel {
    position: relative;
    height: 100%;
    padding: 34px 34px 34px 38px;
    border-left: 5px solid var(--e3-red);
    background: var(--e3-soft);
    border-radius: 0 var(--e3-radius) var(--e3-radius) 0;
}

.e3-feature-panel h3 {
    margin-bottom: 12px;
}

.e3-dark-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
    align-items: center;
    gap: 60px;
}

.e3-dark-layout p {
    color: #c5d9ef;
    font-size: 1.12rem;
}

.e3-dark-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.e3-phone-link {
    color: var(--e3-white);
    font-family: Montserrat, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
}

.e3-phone-link:hover {
    color: #b9d9ff;
}

.e3-process-list {
    display: grid;
    margin: 34px 0;
    padding: 0;
    counter-reset: e3-process;
    list-style: none;
    gap: 18px;
}

.e3-process-list li {
    position: relative;
    padding: 27px 28px 27px 78px;
    border: 1px solid var(--e3-line);
    background: var(--e3-white);
    border-radius: 14px;
}

.e3-process-list li::before {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--e3-white);
    background: var(--e3-red);
    border-radius: 10px;
    counter-increment: e3-process;
    content: counter(e3-process);
    font-family: Montserrat, sans-serif;
    font-weight: 800;
}

.e3-contact-value {
    color: var(--e3-navy);
    font-family: Montserrat, sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
}

.e3-contact-value a {
    text-decoration: none;
}

.e3-notice {
    margin-top: 40px;
    padding: 24px 28px;
    border: 1px solid #f2d47c;
    background: #fff8df;
    border-radius: 14px;
}

@media (max-width: 900px) {
    .e3-dark-layout {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   PHASE 6 — COMPONENTIZED HOMEPAGE
   ========================================================== */

.e3-section-action {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.e3-service-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.e3-service-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(14, 90, 167, 0.10);
    border-radius: 50%;
}

.e3-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 90, 167, 0.30);
    box-shadow: 0 22px 48px rgba(5, 41, 84, 0.12);
}

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

.e3-process-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--e3-line);
    background: var(--e3-white);
    border-radius: var(--e3-radius);
}

.e3-process-card > span {
    display: block;
    margin-bottom: 28px;
    color: var(--e3-red);
    font-family: Montserrat, sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.e3-process-card h3 {
    margin-bottom: 12px;
}

.e3-process-card p {
    margin-bottom: 0;
    color: var(--e3-muted);
}

.e3-history-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 6vw, 66px);
    color: var(--e3-white);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(14, 90, 167, 0.9),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            #031a37,
            var(--e3-navy)
        );
    border-radius: 28px;
    box-shadow: var(--e3-shadow);
}

.e3-history-year-large {
    color: var(--e3-white);
    font-family: Montserrat, sans-serif;
    font-size: clamp(5rem, 11vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.85;
}

.e3-history-caption {
    margin-top: 20px;
    color: #dbeaff;
    font-family: Montserrat, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.e3-history-rule {
    width: 72px;
    height: 5px;
    margin: 30px 0;
    background: var(--e3-red);
    border-radius: 999px;
}

.e3-history-panel p:last-child {
    margin-bottom: 0;
    color: #c5d9ef;
}

@media (max-width: 980px) {
    .e3-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .e3-process-grid {
        grid-template-columns: 1fr;
    }

    .e3-section-action .e3-button {
        width: 100%;
    }
}


/* ==========================================================
   PHASE 7 — HERO MESSAGE AND ACCESSIBLE CONTRAST
   ========================================================== */

/*
 * Kicker labels on light backgrounds must use a strong blue.
 * This replaces the pale blue that was difficult to read.
 */
.e3-section .e3-kicker,
.e3-content .e3-kicker,
.e3-page-intro .e3-kicker {
    color: #0a4f91;
    font-weight: 800;
    letter-spacing: 0.16em;
}

/*
 * Add a small red accent line to light-background section labels.
 */
.e3-section .e3-kicker::after,
.e3-content .e3-kicker::after,
.e3-page-intro .e3-kicker::after {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 11px;
    background: var(--e3-red);
    border-radius: 999px;
    content: "";
}

/*
 * Hero kickers stay light because the hero background is dark.
 */
.e3-hero .e3-kicker,
.e3-section-dark .e3-kicker {
    color: #c2ddff;
}

.e3-hero .e3-kicker::after,
.e3-section-dark .e3-kicker::after {
    background: var(--e3-red);
}

/*
 * Refine the approved hero headline.
 */
.e3-hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 6vw, 5.45rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.e3-hero-copy {
    max-width: 760px;
    color: #e0edfb;
    font-size: clamp(1.08rem, 1.8vw, 1.28rem);
    line-height: 1.7;
}

/*
 * Improve general body-text contrast on pale backgrounds.
 */
.e3-section-soft p,
.e3-feature-panel p,
.e3-process-card p {
    color: #475569;
}

/*
 * Improve heading and link clarity.
 */
.e3-text-link {
    color: #09579f;
}

.e3-text-link:hover {
    color: var(--e3-red);
}

/*
 * Slightly tighten excessive section spacing.
 */
.e3-section {
    padding-top: clamp(66px, 8vw, 104px);
    padding-bottom: clamp(66px, 8vw, 104px);
}

@media (max-width: 620px) {
    .e3-hero h1 br {
        display: none;
    }

    .e3-section .e3-kicker,
    .e3-content .e3-kicker,
    .e3-page-intro .e3-kicker {
        letter-spacing: 0.12em;
    }
}


/* ==========================================================
   PHASE 8 — HERO NETWORK ILLUSTRATION
   ========================================================== */

.e3-hero-illustration {
    position: relative;
    width: 100%;
    max-width: 610px;
    margin-inline: auto;
}

.e3-hero-illustration::before {
    position: absolute;
    inset: 10% 8%;
    z-index: -1;
    background: rgba(14, 90, 167, 0.34);
    border-radius: 50%;
    filter: blur(48px);
    content: "";
}

.e3-hero-illustration img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 38px rgba(0, 0, 0, 0.22));
}

@media (max-width: 900px) {
    .e3-hero-illustration {
        max-width: 570px;
    }
}

@media (max-width: 620px) {
    .e3-hero-illustration {
        max-width: 100%;
    }
}
