:root {
    --ec-navy: #0c2944;
    --ec-navy-deep: #071c2f;
    --ec-bronze: #a9824f;
    --ec-bronze-light: #c6a878;

    --ec-ivory: #f8f5ef;
    --ec-cream: #eee8de;
    --ec-white: #ffffff;

    --ec-text: #202326;
    --ec-muted: #656667;
    --ec-line: rgba(12, 41, 68, 0.14);

    --ec-max: 1500px;

    --ec-serif:
    "Noto Serif",
    "Liberation Serif",
    Georgia,
    serif;

    --ec-sans:
    "Noto Sans",
    "Liberation Sans",
    Arial,
    sans-serif;
}


/* ---------------------------------------------------------
 *  Foundation
 *  --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background: var(--ec-white);
    color: var(--ec-text);

    font-family: var(--ec-sans);
    line-height: 1.6;
}

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

a {
    color: inherit;
}


/* ---------------------------------------------------------
 *  Header
 *  --------------------------------------------------------- */

.ec-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: 108px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 3rem;

    padding: 0.9rem 4rem;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--ec-line);

    backdrop-filter: blur(12px);
}

.ec-brand {
    flex: 0 0 auto;

    text-decoration: none;
}

.ec-brand img {
    width: min(390px, 34vw);
    height: auto;
}

.ec-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 0.3rem;
}

.ec-nav a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 1rem;

    color: var(--ec-navy);

    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.09em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
    color 160ms ease,
    background-color 160ms ease;
}

.ec-nav a:hover,
.ec-nav a:focus-visible {
    color: var(--ec-bronze);

    background: rgba(169, 130, 79, 0.06);
}

.ec-nav a:focus-visible {
    outline: 2px solid var(--ec-bronze);
    outline-offset: 2px;
}

.ec-nav a.active::after {
    content: "";

    position: absolute;

    left: 1rem;
    right: 1rem;
    bottom: 0;

    height: 2px;

    background: var(--ec-bronze);
}


/* ---------------------------------------------------------
 *  Hero
 *  --------------------------------------------------------- */

.ec-hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--ec-ivory);
}

.ec-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.ec-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
    linear-gradient(
        90deg,
        rgba(250, 248, 243, 0.98) 0%,
                    rgba(250, 248, 243, 0.94) 26%,
                    rgba(250, 248, 243, 0.68) 40%,
                    rgba(250, 248, 243, 0.12) 58%,
                    rgba(250, 248, 243, 0) 72%
    );

    pointer-events: none;
}

.ec-hero-content {
    position: relative;
    z-index: 2;

    width: min(650px, 48%);

    margin-left: max(4rem, calc((100vw - var(--ec-max)) / 2));

    padding: 5rem 0;
}

.ec-eyebrow {
    margin: 0 0 1.4rem;

    color: var(--ec-bronze);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;

    text-transform: uppercase;
}

.ec-hero h1 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(3.4rem, 5.4vw, 6.2rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.ec-hero h1 span {
    display: block;
}

.ec-hero h1 span + span {
    margin-top: 0.16em;

    color: var(--ec-bronze);
}

.ec-hero-copy {
    max-width: 570px;

    margin: 2rem 0 0;

    color: #4c5154;

    font-size: 1.1rem;
    line-height: 1.75;
}

.ec-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    margin-top: 2rem;
    padding: 0.85rem 1.8rem;

    border: 1px solid var(--ec-navy);

    background: var(--ec-navy);
    color: var(--ec-white);

    font-family: var(--ec-serif);
    font-size: 1rem;
    font-weight: 600;

    text-decoration: none;

    transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.ec-button::after {
    content: "→";

    margin-left: 0.8rem;
}

.ec-button:hover,
.ec-button:focus-visible {
    border-color: var(--ec-bronze);

    background: var(--ec-bronze);
    color: var(--ec-white);

    transform: translateY(-1px);
}

.ec-button:focus-visible {
    outline: 3px solid rgba(169, 130, 79, 0.28);
    outline-offset: 3px;
}

.ec-hero-pillars {
    margin: 2.8rem 0 0;

    color: var(--ec-muted);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.ec-hero-pillars span {
    margin: 0 0.65rem;

    color: var(--ec-bronze);
}


/* ---------------------------------------------------------
 *  Clarity Before Complexity
 *  --------------------------------------------------------- */

.ec-clarity {
    padding: 7rem 4rem 8rem;

    background: var(--ec-white);
}

.ec-section-inner {
    width: min(100%, 1180px);

    margin: 0 auto;
}

.ec-section-kicker {
    margin: 0 0 0.8rem;

    color: var(--ec-bronze);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;

    text-transform: uppercase;
}

.ec-clarity h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.ec-section-lead {
    max-width: 900px;

    margin: 2rem 0 0;

    color: #353a3d;

    font-family: var(--ec-serif);
    font-size: 1.3rem;
    line-height: 1.75;
}

.ec-section-copy {
    max-width: 820px;

    margin: 1.4rem 0 0;

    color: var(--ec-muted);

    font-size: 1rem;
    line-height: 1.8;
}

.ec-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    margin-top: 4.5rem;

    border-top: 1px solid var(--ec-line);
    border-bottom: 1px solid var(--ec-line);
}

.ec-pillars article {
    min-width: 0;

    padding: 2.2rem 2.4rem;
}

.ec-pillars article + article {
    border-left: 1px solid var(--ec-line);
}

.ec-pillars article:first-child {
    padding-left: 0;
}

.ec-pillars article:last-child {
    padding-right: 0;
}

.ec-pillars h3 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: 1.4rem;
    font-weight: 600;
}

.ec-pillars p {
    margin: 0.65rem 0 0;

    color: var(--ec-muted);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
 *  Footer
 *  --------------------------------------------------------- */

.ec-footer {
    padding: 2rem 4rem 6.5rem;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    background: var(--ec-navy-deep);
    color: rgba(255, 255, 255, 0.68);

    text-align: center;

    font-size: 0.72rem;
    line-height: 1.7;
}

.ec-footer p {
    margin: 0;
}

.ec-footer p + p {
    margin-top: 0.35rem;
}


/* ---------------------------------------------------------
 *  EFL demonstration return control
 *  --------------------------------------------------------- */

.efl-return {
    position: fixed;

    right: 1.4rem;
    bottom: 1.4rem;

    z-index: 1200;

    display: inline-flex;
    align-items: center;

    gap: 0.55rem;

    min-height: 44px;

    padding: 0.7rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;

    background: rgba(7, 28, 47, 0.94);
    color: var(--ec-white);

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;

    text-decoration: none;

    backdrop-filter: blur(10px);

    transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.efl-return:hover,
.efl-return:focus-visible {
    background: var(--ec-bronze);

    transform: translateY(-2px);
}

.efl-return:focus-visible {
    outline: 3px solid rgba(169, 130, 79, 0.35);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
 *  Large displays
 *  --------------------------------------------------------- */

@media (min-width: 1600px) {
    .ec-header {
        min-height: 118px;

        padding-inline: 5rem;
    }

    .ec-brand img {
        width: 430px;
    }

    .ec-nav a {
        padding-inline: 1.2rem;

        font-size: 0.84rem;
    }

    .ec-hero {
        min-height: 790px;
    }

    .ec-hero-content {
        width: min(700px, 46%);
    }

    .ec-hero-copy {
        font-size: 1.18rem;
    }

    .ec-section-inner {
        width: min(100%, 1320px);
    }
}


/* ---------------------------------------------------------
 *  Tablet / smaller desktop
 *  --------------------------------------------------------- */

@media (max-width: 1100px) {
    .ec-header {
        min-height: auto;

        flex-direction: column;
        align-items: stretch;

        gap: 0.8rem;

        padding: 0.85rem 1.25rem 0;
    }

    .ec-brand {
        align-self: center;
    }

    .ec-brand img {
        width: min(360px, 82vw);
    }

    .ec-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));

        width: 100%;

        gap: 0;
    }

    .ec-nav a {
        min-width: 0;

        padding: 0.65rem 0.25rem;

        font-size: 0.7rem;

        text-align: center;
    }

    .ec-hero {
        min-height: 680px;
    }

    .ec-hero::after {
        background:
        linear-gradient(
            90deg,
            rgba(250, 248, 243, 0.98) 0%,
                        rgba(250, 248, 243, 0.92) 40%,
                        rgba(250, 248, 243, 0.40) 70%,
                        rgba(250, 248, 243, 0.12) 100%
        );
    }

    .ec-hero-content {
        width: min(620px, 68%);

        margin-left: 2rem;

        padding: 4rem 0;
    }

    .ec-clarity {
        padding: 5.5rem 2rem 6rem;
    }
}


/* ---------------------------------------------------------
 *  Mobile
 *  --------------------------------------------------------- */

@media (max-width: 700px) {
    .ec-header {
        position: relative;

        padding-inline: 0.75rem;
    }

    .ec-brand img {
        width: min(300px, 88vw);
    }

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

    .ec-nav a {
        min-height: 42px;

        font-size: 0.66rem;
    }

    .ec-hero {
        min-height: 690px;

        align-items: flex-end;
    }

    .ec-hero-image {
        object-position: 62% center;
    }

    .ec-hero::after {
        background:
        linear-gradient(
            180deg,
            rgba(250, 248, 243, 0.16) 0%,
                        rgba(250, 248, 243, 0.48) 32%,
                        rgba(250, 248, 243, 0.94) 57%,
                        rgba(250, 248, 243, 0.99) 100%
        );
    }

    .ec-hero-content {
        width: 100%;

        margin: 0;

        padding: 12rem 1.4rem 3rem;
    }

    .ec-eyebrow {
        margin-bottom: 1rem;

        font-size: 0.66rem;
    }

    .ec-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.3rem);
    }

    .ec-hero-copy {
        max-width: 520px;

        margin-top: 1.4rem;

        font-size: 1rem;
    }

    .ec-button {
        width: 100%;

        margin-top: 1.5rem;
    }

    .ec-hero-pillars {
        margin-top: 2rem;

        font-size: 0.62rem;
        line-height: 1.8;
    }

    .ec-hero-pillars span {
        margin-inline: 0.35rem;
    }

    .ec-clarity {
        padding: 4.5rem 1.4rem 5rem;
    }

    .ec-clarity h2 {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .ec-section-lead {
        margin-top: 1.5rem;

        font-size: 1.12rem;
    }

    .ec-pillars {
        grid-template-columns: 1fr;

        margin-top: 3rem;
    }

    .ec-pillars article {
        padding: 1.6rem 0;
    }

    .ec-pillars article + article {
        border-top: 1px solid var(--ec-line);
        border-left: 0;
    }

    .ec-footer {
        padding: 1.8rem 1.25rem 6.8rem;
    }

    .efl-return {
        position: static;

        display: flex;

        width: fit-content;
        max-width: calc(100% - 2.5rem);

        margin: 0 auto 1rem;

        font-size: 0.66rem;
    }
}

/* ---------------------------------------------------------
 *  About Us
 *  --------------------------------------------------------- */

.ec-about {
    background: var(--ec-white);
}


/* Partners */

.ec-partners {
    width: min(100% - 4rem, 900px);

    margin: 0 auto;
    padding: 4rem 0 4.5rem;
}

.ec-partner {
    text-align: center;
}

.ec-partner img {
    width: 100%;
    aspect-ratio: 1 / 1.08;

    object-fit: cover;
    object-position: center 24%;

    border: 1px solid var(--ec-line);

    background: var(--ec-ivory);
}

.ec-partner h1,
.ec-partner h2 {
    margin: 0.9rem 0 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-weight: 500;
    line-height: 1.15;
}

.ec-partner h1 {
    font-size: 1.55rem;
}

.ec-partner h2 {
    font-size: 1.35rem;
}

.ec-partner p {
    margin: 0.3rem 0 0;

    color: var(--ec-bronze);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* Managing Partner */

.ec-partner-managing {
    width: min(100%, 300px);

    margin: 0 auto;
}


/* Second partner row */

.ec-partner-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 3.5rem;

    width: min(100%, 650px);

    margin: 3.5rem auto 0;
}


/* Who We Are */

.ec-who-we-are {
    padding: 7rem 4rem;

    background: var(--ec-ivory);

    border-top: 1px solid var(--ec-line);
    border-bottom: 1px solid var(--ec-line);
}

.ec-about-copy {
    width: min(100%, 1000px);

    margin: 0 auto;
}

.ec-about-copy h2 {
    max-width: 850px;

    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.ec-about-copy .ec-section-lead {
    max-width: 900px;
}


/* Mission + Vision */

.ec-mission-vision {
    display: grid;
    grid-template-columns:
    minmax(0, 1fr)
    110px
    minmax(0, 1fr);

    align-items: center;

    gap: 3rem;

    width: min(100% - 4rem, 1180px);

    margin: 0 auto;
    padding: 8rem 0;
}

.ec-mission-vision article {
    min-width: 0;
}

.ec-mission-vision article:first-child {
    text-align: right;
}

.ec-mission-vision h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(1.9rem, 2.6vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
}

.ec-mission-vision article > p:last-child {
    margin: 1.25rem 0 0;

    color: var(--ec-muted);

    font-size: 1rem;
    line-height: 1.8;
}

.ec-mission-star {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-mission-star img {
    width: 86px;
    height: 86px;

    object-fit: contain;
}


/* ---------------------------------------------------------
 *  About Us — large displays
 *  --------------------------------------------------------- */

@media (min-width: 1600px) {
    .ec-partners {
        width: min(100% - 6rem, 1000px);

        padding-block: 4.5rem 5rem;
    }

    .ec-partner-managing {
        width: min(100%, 330px);
    }

    .ec-partner-row {
        width: min(100%, 700px);

        gap: 4rem;
    }

    .ec-partner h1 {
        font-size: 1.65rem;
    }

    .ec-partner h2 {
        font-size: 1.4rem;
    }

    .ec-about-copy {
        width: min(100%, 1120px);
    }

    .ec-mission-vision {
        width: min(100% - 6rem, 1320px);

        grid-template-columns:
        minmax(0, 1fr)
        130px
        minmax(0, 1fr);

        gap: 4rem;
    }

    .ec-mission-star img {
        width: 100px;
        height: 100px;
    }
}


/* ---------------------------------------------------------
 *  About Us — tablet
 *  --------------------------------------------------------- */

@media (max-width: 900px) {
    .ec-partners {
        width: min(100% - 3rem, 900px);

        padding-block: 5rem 5.5rem;
    }

    .ec-partner-managing {
        width: min(100%, 380px);
    }

    .ec-partner-row {
        gap: 2.5rem;

        margin-top: 4.5rem;
    }

    .ec-who-we-are {
        padding: 5.5rem 2rem;
    }

    .ec-mission-vision {
        grid-template-columns:
        minmax(0, 1fr)
        80px
        minmax(0, 1fr);

        gap: 1.75rem;

        width: min(100% - 3rem, 900px);

        padding-block: 6rem;
    }

    .ec-mission-star img {
        width: 64px;
        height: 64px;
    }
}


/* ---------------------------------------------------------
 *  About Us — mobile
 *  --------------------------------------------------------- */

@media (max-width: 650px) {
    .ec-partners {
        width: min(100% - 2.5rem, 520px);

        padding-block: 3.5rem 4rem;
    }

    .ec-partner-managing {
        width: min(100%, 280px);
    }

    .ec-partner-row {
        grid-template-columns: 1fr;

        gap: 3.5rem;

        width: min(100%, 280px);

        margin: 3.5rem auto 0;
    }

    .ec-partner h1,
    .ec-partner h2 {
        margin-top: 1rem;
    }

    .ec-partner h1 {
        font-size: 1.8rem;
    }

    .ec-partner h2 {
        font-size: 1.6rem;
    }

    .ec-who-we-are {
        padding: 4.5rem 1.4rem;
    }

    .ec-about-copy h2 {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .ec-mission-vision {
        grid-template-columns: 1fr;

        gap: 3rem;

        width: min(100% - 2.8rem, 520px);

        padding-block: 5rem;
    }

    .ec-mission-vision article:first-child,
    .ec-mission-vision article:last-child {
        text-align: left;
    }

    .ec-mission-star {
        justify-content: flex-start;
    }

    .ec-mission-star img {
        width: 58px;
        height: 58px;
    }
}

/* ---------------------------------------------------------
 * Expertise
 * --------------------------------------------------------- */

.ec-expertise {
    background: var(--ec-white);
}


/* Provided Expertise */

.ec-provided-expertise {
    width: min(100% - 4rem, 1180px);

    margin: 0 auto;
    padding: 6rem 0 7rem;
}

.ec-expertise-intro {
    max-width: 900px;

    margin: 0 auto;

    text-align: center;
}

.ec-expertise-intro h1 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.5rem, 4vw, 4.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.ec-expertise-intro > p:last-child {
    max-width: 760px;

    margin: 1.5rem auto 0;

    color: var(--ec-muted);

    font-size: 1rem;
    line-height: 1.8;
}


/* Service grid */

.ec-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1px;

    margin-top: 5rem;

    background: var(--ec-line);

    border: 1px solid var(--ec-line);
}

.ec-service-card {
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 440px;

    padding: 3rem;

    background: var(--ec-white);
}


/* Service icons */

.ec-service-icon {
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 2rem;
}

.ec-service-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* Service content */

.ec-service-card h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.15;
}

.ec-service-card > p {
    max-width: 460px;

    margin: 1rem 0 0;

    color: var(--ec-muted);

    font-size: 0.95rem;
    line-height: 1.75;
}


/* Pricing */

.ec-service-price {
    display: flex;
    align-items: baseline;

    gap: 0.7rem;

    margin-top: auto;
    padding-top: 2.5rem;
}

.ec-service-price span {
    color: var(--ec-bronze);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.ec-service-price strong {
    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: 1.6rem;
    font-weight: 500;
}

.ec-pricing-note {
    margin: 1.25rem 0 0;

    color: var(--ec-muted);

    font-size: 0.76rem;
    line-height: 1.6;

    text-align: right;
}


/* ---------------------------------------------------------
 * Expertise Branches
 * --------------------------------------------------------- */

.ec-expertise-branches {
    padding: 7rem 4rem 8rem;

    background: var(--ec-ivory);

    border-top: 1px solid var(--ec-line);
}

.ec-branches-intro {
    width: min(100%, 900px);

    margin: 0 auto;

    text-align: center;
}

.ec-branches-intro h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.3rem, 3.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}


/* Branch row */

.ec-branch-row {
    display: grid;
    grid-template-columns:
    minmax(0, 1fr)
    70px
    minmax(0, 1fr)
    70px
    minmax(0, 1fr);

    align-items: center;

    gap: 2rem;

    width: min(100%, 1180px);

    margin: 4.5rem auto 0;
}

.ec-branch {
    min-width: 0;

    text-align: center;
}

.ec-branch h3 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}

.ec-branch p {
    max-width: 270px;

    margin: 0.75rem auto 0;

    color: var(--ec-muted);

    font-size: 0.9rem;
    line-height: 1.7;
}


/* Nautical-star separators */

.ec-branch-star {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-branch-star img {
    width: 48px;
    height: 48px;

    object-fit: contain;
}


/* ---------------------------------------------------------
 * Expertise — large displays
 * --------------------------------------------------------- */

@media (min-width: 1600px) {
    .ec-provided-expertise {
        width: min(100% - 6rem, 1320px);

        padding-block: 7rem 8rem;
    }

    .ec-expertise-intro {
        max-width: 1000px;
    }

    .ec-service-card {
        min-height: 470px;

        padding: 3.5rem;
    }

    .ec-service-icon {
        width: 165px;
        height: 165px;
    }

    .ec-service-card h2 {
        font-size: 2rem;
    }

    .ec-service-card > p {
        font-size: 1rem;
    }

    .ec-expertise-branches {
        padding-block: 8rem 9rem;
    }

    .ec-branch-row {
        width: min(100%, 1320px);

        grid-template-columns:
        minmax(0, 1fr)
        80px
        minmax(0, 1fr)
        80px
        minmax(0, 1fr);

        gap: 2.5rem;
    }

    .ec-branch-star img {
        width: 54px;
        height: 54px;
    }
}


/* ---------------------------------------------------------
 * Expertise — tablet
 * --------------------------------------------------------- */

@media (max-width: 900px) {
    .ec-provided-expertise {
        width: min(100% - 3rem, 900px);

        padding-block: 5rem 5.5rem;
    }

    .ec-service-grid {
        margin-top: 4rem;
    }

    .ec-service-card {
        min-height: 470px;

        padding: 2.25rem;
    }

    .ec-service-icon {
        width: 125px;
        height: 125px;
    }

    .ec-service-card h2 {
        font-size: 1.55rem;
    }

    .ec-pricing-note {
        text-align: left;
    }

    .ec-expertise-branches {
        padding: 5.5rem 2rem 6rem;
    }

    .ec-branch-row {
        grid-template-columns:
        minmax(0, 1fr)
        45px
        minmax(0, 1fr)
        45px
        minmax(0, 1fr);

        gap: 1rem;

        margin-top: 3.5rem;
    }

    .ec-branch-star img {
        width: 36px;
        height: 36px;
    }
}


/* ---------------------------------------------------------
 * Expertise — mobile
 * --------------------------------------------------------- */

@media (max-width: 650px) {
    .ec-provided-expertise {
        width: min(100% - 2.8rem, 520px);

        padding-block: 4.5rem 5rem;
    }

    .ec-expertise-intro {
        text-align: left;
    }

    .ec-expertise-intro h1 {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .ec-expertise-intro > p:last-child {
        margin-top: 1.25rem;
    }

    .ec-service-grid {
        grid-template-columns: 1fr;

        gap: 1px;

        margin-top: 3rem;
    }

    .ec-service-card {
        min-height: 0;

        padding: 2rem;
    }

    .ec-service-icon {
        width: 115px;
        height: 115px;

        margin-bottom: 1.5rem;
    }

    .ec-service-card h2 {
        font-size: 1.5rem;
    }

    .ec-service-price {
        margin-top: 2rem;
        padding-top: 0;
    }

    .ec-pricing-note {
        font-size: 0.72rem;
    }

    .ec-expertise-branches {
        padding: 4.5rem 1.4rem 5rem;
    }

    .ec-branches-intro {
        text-align: left;
    }

    .ec-branches-intro h2 {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
    }

    .ec-branch-row {
        grid-template-columns: 1fr;

        gap: 2rem;

        width: min(100%, 520px);

        margin-top: 3rem;
    }

    .ec-branch {
        text-align: left;
    }

    .ec-branch p {
        max-width: none;

        margin-left: 0;
        margin-right: 0;
    }

    .ec-branch-star {
        justify-content: flex-start;
    }

    .ec-branch-star img {
        width: 38px;
        height: 38px;
    }
}

/* ---------------------------------------------------------
 * Industries
 * --------------------------------------------------------- */

.ec-industries {
    background: var(--ec-white);
}


/* Industries introduction */

.ec-industries-intro {
    width: min(100% - 4rem, 1000px);

    margin: 0 auto;
    padding: 7rem 0 6.5rem;

    text-align: center;
}

.ec-industries-intro h1 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.ec-industries-lead {
    max-width: 760px;

    margin: 1.75rem auto 0;

    color: var(--ec-muted);

    font-size: 1rem;
    line-height: 1.8;
}


/* ---------------------------------------------------------
 * Industry list
 * --------------------------------------------------------- */

.ec-industry-list {
    border-top: 1px solid var(--ec-line);
}

.ec-industry {
    display: grid;
    grid-template-columns: 180px minmax(0, 760px);

    justify-content: center;
    align-items: start;

    gap: 4.5rem;

    padding: 6rem 4rem;

    border-bottom: 1px solid var(--ec-line);
}

.ec-industry:nth-child(even) {
    background: var(--ec-ivory);
}


/* Industry numbers */

.ec-industry-number {
    color: rgba(12, 41, 68, 0.10);

    font-family: var(--ec-serif);
    font-size: 7rem;
    font-weight: 500;
    line-height: 0.8;

    text-align: right;

    user-select: none;
}


/* Industry content */

.ec-industry-content {
    min-width: 0;
}

.ec-industry-content h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ec-industry-content > p:not(.ec-section-kicker) {
    max-width: 700px;

    margin: 1.25rem 0 0;

    color: var(--ec-muted);

    font-size: 0.98rem;
    line-height: 1.8;
}

.ec-industry-content > p:not(.ec-section-kicker) +
.ec-industry-content > p:not(.ec-section-kicker) {
    margin-top: 1rem;
}


/* ---------------------------------------------------------
 * Alternating industry treatment
 * --------------------------------------------------------- */

.ec-industry:nth-child(even) {
    grid-template-columns: minmax(0, 760px) 180px;
}

.ec-industry:nth-child(even) .ec-industry-number {
    grid-column: 2;
    grid-row: 1;

    text-align: left;
}

.ec-industry:nth-child(even) .ec-industry-content {
    grid-column: 1;
    grid-row: 1;

    text-align: right;
}

.ec-industry:nth-child(even)
.ec-industry-content > p:not(.ec-section-kicker) {
    margin-left: auto;
}


/* ---------------------------------------------------------
 * Industries close
 * --------------------------------------------------------- */

.ec-industries-close {
    padding: 8rem 4rem 9rem;

    background: var(--ec-navy-deep);
    color: var(--ec-white);

    text-align: center;
}

.ec-industries-close > img {
    width: 74px;
    height: 74px;

    margin: 0 auto 2rem;

    object-fit: contain;
}

.ec-industries-close .ec-section-kicker {
    color: var(--ec-bronze-light);
}

.ec-industries-close h2 {
    margin: 0;

    color: var(--ec-white);

    font-family: var(--ec-serif);
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.ec-industries-close > p:not(.ec-section-kicker) {
    max-width: 650px;

    margin: 1.5rem auto 0;

    color: rgba(255, 255, 255, 0.70);

    font-size: 1rem;
    line-height: 1.8;
}


/* Industries CTA */

.ec-industries-close .ec-button {
    margin-top: 2rem;

    border-color: var(--ec-bronze);

    background: var(--ec-bronze);
    color: var(--ec-white);
}

.ec-industries-close .ec-button:hover,
.ec-industries-close .ec-button:focus-visible {
    border-color: var(--ec-white);

    background: var(--ec-white);
    color: var(--ec-navy-deep);
}


/* ---------------------------------------------------------
 * Industries — large displays
 * --------------------------------------------------------- */

@media (min-width: 1600px) {
    .ec-industries-intro {
        width: min(100% - 6rem, 1100px);

        padding-block: 8rem 7.5rem;
    }

    .ec-industry {
        grid-template-columns: 200px minmax(0, 820px);

        gap: 5.5rem;

        padding-block: 6.5rem;
    }

    .ec-industry:nth-child(even) {
        grid-template-columns: minmax(0, 820px) 200px;
    }

    .ec-industry-number {
        font-size: 8rem;
    }

    .ec-industry-content > p:not(.ec-section-kicker) {
        max-width: 760px;

        font-size: 1rem;
    }

    .ec-industries-close {
        padding-block: 9rem 10rem;
    }
}


/* ---------------------------------------------------------
 * Industries — tablet
 * --------------------------------------------------------- */

@media (max-width: 900px) {
    .ec-industries-intro {
        width: min(100% - 3rem, 800px);

        padding-block: 5.5rem 5rem;
    }

    .ec-industry,
    .ec-industry:nth-child(even) {
        grid-template-columns: 120px minmax(0, 1fr);

        gap: 2.5rem;

        padding: 4.5rem 2rem;
    }

    .ec-industry-number,
    .ec-industry:nth-child(even) .ec-industry-number {
        grid-column: 1;
        grid-row: 1;

        text-align: right;
    }

    .ec-industry-content,
    .ec-industry:nth-child(even) .ec-industry-content {
        grid-column: 2;
        grid-row: 1;

        text-align: left;
    }

    .ec-industry:nth-child(even)
    .ec-industry-content > p:not(.ec-section-kicker) {
        margin-left: 0;
    }

    .ec-industry-number {
        font-size: 5.5rem;
    }

    .ec-industries-close {
        padding: 6rem 2rem 7rem;
    }
}


/* ---------------------------------------------------------
 * Industries — mobile
 * --------------------------------------------------------- */

@media (max-width: 650px) {
    .ec-industries-intro {
        width: min(100% - 2.8rem, 520px);

        padding-block: 4.5rem 4rem;

        text-align: left;
    }

    .ec-industries-intro h1 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .ec-industries-lead {
        margin-left: 0;
        margin-right: 0;
    }

    .ec-industry,
    .ec-industry:nth-child(even) {
        display: block;

        padding: 3.5rem 1.4rem;
    }

    .ec-industry-number,
    .ec-industry:nth-child(even) .ec-industry-number {
        margin-bottom: 1.25rem;

        font-size: 4rem;
        line-height: 1;

        text-align: left;
    }

    .ec-industry-content,
    .ec-industry:nth-child(even) .ec-industry-content {
        text-align: left;
    }

    .ec-industry-content h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

    .ec-industries-close {
        padding: 5rem 1.4rem 6rem;

        text-align: left;
    }

    .ec-industries-close > img {
        width: 58px;
        height: 58px;

        margin-left: 0;
        margin-right: 0;
    }

    .ec-industries-close h2 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .ec-industries-close > p:not(.ec-section-kicker) {
        margin-left: 0;
        margin-right: 0;
    }

    .ec-industries-close .ec-button {
        width: 100%;
    }
}

/* ---------------------------------------------------------
 * Contact
 * --------------------------------------------------------- */

.ec-contact {
    background: var(--ec-white);
}


/* Contact introduction */

.ec-contact-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);

    gap: 7rem;

    width: min(100% - 4rem, 1180px);

    margin: 0 auto;
    padding: 7rem 0;
}

.ec-contact-heading h1 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.ec-contact-lead {
    max-width: 720px;

    margin: 1.6rem 0 0;

    color: var(--ec-muted);

    font-size: 1rem;
    line-height: 1.8;
}


/* Contact details */

.ec-contact-details {
    align-self: center;

    border-top: 1px solid var(--ec-line);
}

.ec-contact-detail {
    padding: 1.4rem 0;

    border-bottom: 1px solid var(--ec-line);
}

.ec-contact-detail span {
    display: block;

    color: var(--ec-bronze);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.ec-contact-detail strong {
    display: block;

    margin-top: 0.4rem;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}


/* ---------------------------------------------------------
 * Contact form section
 * --------------------------------------------------------- */

.ec-contact-form-section {
    padding: 7rem 4rem 8rem;

    background: var(--ec-ivory);

    border-top: 1px solid var(--ec-line);
    border-bottom: 1px solid var(--ec-line);
}

.ec-contact-form-intro {
    width: min(100%, 900px);

    margin: 0 auto;

    text-align: center;
}

.ec-contact-form-intro h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.ec-contact-form-intro > p:last-child {
    max-width: 620px;

    margin: 1.25rem auto 0;

    color: var(--ec-muted);

    font-size: 0.95rem;
    line-height: 1.75;
}


/* Form */

.ec-contact-form {
    width: min(100%, 900px);

    margin: 4rem auto 0;
}

.ec-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;
}

.ec-form-row + .ec-form-row {
    margin-top: 2rem;
}

.ec-form-row + .ec-field,
.ec-form-row ~ .ec-field {
    margin-top: 2rem;
}

.ec-field {
    min-width: 0;
}

.ec-field label {
    display: block;

    margin-bottom: 0.55rem;

    color: var(--ec-navy);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* Inputs */

.ec-field input,
.ec-field select,
.ec-field textarea {
    width: 100%;

    border: 1px solid rgba(12, 41, 68, 0.20);
    border-radius: 0;

    background: rgba(255, 255, 255, 0.82);
    color: var(--ec-text);

    font: inherit;

    transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.ec-field input,
.ec-field select {
    min-height: 54px;

    padding: 0 1rem;
}

.ec-field textarea {
    min-height: 190px;

    padding: 1rem;

    line-height: 1.6;

    resize: vertical;
}

.ec-field input:hover,
.ec-field select:hover,
.ec-field textarea:hover {
    border-color: rgba(12, 41, 68, 0.38);
}

.ec-field input:focus,
.ec-field select:focus,
.ec-field textarea:focus {
    outline: none;

    border-color: var(--ec-bronze);

    background: var(--ec-white);

    box-shadow: 0 0 0 3px rgba(169, 130, 79, 0.12);
}


/* Select */

.ec-field select {
    cursor: pointer;
}


/* Routing explanation */

.ec-field-note {
    margin: 0.6rem 0 0;

    color: var(--ec-muted);

    font-size: 0.75rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
 * Form completion / nautical-star signature
 * --------------------------------------------------------- */

.ec-form-submit {
    margin-top: 2rem;

    text-align: center;
}

.ec-form-star {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 1.25rem;
}

.ec-form-star img {
    width: 46px;
    height: 46px;

    object-fit: contain;
}

.ec-demo-submit {
    margin-top: 0;

    cursor: pointer;
}

.ec-form-submit > p {
    margin: 1rem auto 0;

    color: var(--ec-muted);

    font-size: 0.72rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
 * Contact closing statement
 * --------------------------------------------------------- */

.ec-contact-close {
    padding: 7rem 4rem 8rem;

    background: var(--ec-white);

    text-align: center;
}

.ec-contact-close > img {
    width: 68px;
    height: 68px;

    margin: 0 auto 1.8rem;

    object-fit: contain;
}

.ec-contact-close h2 {
    margin: 0;

    color: var(--ec-navy);

    font-family: var(--ec-serif);
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}


/* ---------------------------------------------------------
 * Contact — large displays
 * --------------------------------------------------------- */

@media (min-width: 1600px) {
    .ec-contact-intro {
        width: min(100% - 6rem, 1320px);

        grid-template-columns:
        minmax(0, 1.4fr)
        minmax(340px, 0.6fr);

        gap: 8rem;

        padding-block: 8rem;
    }

    .ec-contact-form-section {
        padding-block: 8rem 9rem;
    }

    .ec-contact-form {
        width: min(100%, 1000px);
    }

    .ec-contact-form-intro {
        width: min(100%, 1000px);
    }

    .ec-contact-close {
        padding-block: 8rem 9rem;
    }
}


/* ---------------------------------------------------------
 * Contact — tablet
 * --------------------------------------------------------- */

@media (max-width: 900px) {
    .ec-contact-intro {
        grid-template-columns: 1fr;

        gap: 3.5rem;

        width: min(100% - 3rem, 800px);

        padding-block: 5.5rem;
    }

    .ec-contact-details {
        width: 100%;
    }

    .ec-contact-form-section {
        padding: 5.5rem 2rem 6rem;
    }

    .ec-contact-form {
        margin-top: 3.5rem;
    }

    .ec-contact-close {
        padding: 6rem 2rem 7rem;
    }
}


/* ---------------------------------------------------------
 * Contact — mobile
 * --------------------------------------------------------- */

@media (max-width: 650px) {
    .ec-contact-intro {
        width: min(100% - 2.8rem, 520px);

        padding-block: 4.5rem;
    }

    .ec-contact-heading h1 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .ec-contact-form-section {
        padding: 4.5rem 1.4rem 5rem;
    }

    .ec-contact-form-intro {
        text-align: left;
    }

    .ec-contact-form-intro h2 {
        font-size: clamp(2.3rem, 11vw, 3.4rem);
    }

    .ec-contact-form-intro > p:last-child {
        margin-left: 0;
        margin-right: 0;
    }

    .ec-contact-form {
        margin-top: 3rem;
    }

    .ec-form-row {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .ec-form-star img {
        width: 42px;
        height: 42px;
    }

    .ec-demo-submit {
        width: 100%;
    }

    .ec-contact-close {
        padding: 5rem 1.4rem 6rem;

        text-align: left;
    }

    .ec-contact-close > img {
        width: 58px;
        height: 58px;

        margin-left: 0;
        margin-right: 0;
    }

    .ec-contact-close h2 {
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }
}
