:root {
    --edc-black: #050505;
    --edc-white: #ffffff;
    --edc-off-white: #f6f6f3;
    --edc-gray-100: #f1f1ef;
    --edc-gray-200: #ddddda;
    --edc-gray-500: #777777;
    --edc-gray-700: #2f2f2f;
    --edc-radius: 0;
    --edc-container: 1560px;
    --edc-letter-tight: -0.055em;
    --edc-letter-mid: -0.035em;
    --edc-letter-body: -0.01em;
    --edc-word-hero: 0.22em;
    --edc-word-title: 0.14em;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--edc-white);
    color: var(--edc-black);
    letter-spacing: var(--edc-letter-body);
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    padding-top: 84px;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

a:hover {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--edc-black);
    color: var(--edc-white);
}

.edc-container {
    max-width: var(--edc-container);
    padding-left: clamp(1.25rem, 3vw, 3rem);
    padding-right: clamp(1.25rem, 3vw, 3rem);
}

.edc-site-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.edc-site-header.is-scrolled {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.14);
}

.edc-site-header .navbar {
    min-height: 84px;
}

.edc-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 900;
    letter-spacing: var(--edc-letter-mid);
    text-transform: uppercase;
}

.edc-brand img {
    max-height: 52px;
    width: auto;
}

.edc-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--edc-black);
    color: var(--edc-white);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.edc-brand-text {
    font-size: 1rem;
}

.edc-nav .menu-item,
.navbar-nav .nav-item {
    margin-left: 0.2rem;
}

.edc-nav a,
.navbar-nav .nav-link {
    color: var(--edc-black) !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    padding: 0.75rem 0.85rem !important;
}

.edc-nav a:hover,
.navbar-nav .nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.35em;
}

.edc-icon-button,
.edc-menu-button {
    border: 1px solid var(--edc-black);
    border-radius: var(--edc-radius);
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    background: var(--edc-white);
}

.edc-menu-button.navbar-toggler {
    padding: 0;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.edc-menu-button .navbar-toggler-icon {
    display: block;
    width: 1.35em;
    height: 1.35em;
    margin: 0 auto;
    background-position: center;
    background-size: 100% 100%;
}

.edc-nav-cta,
.edc-button-dark,
.edc-button-light,
.edc-button-outline {
    border-radius: var(--edc-radius);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    padding: 0.9rem 1.15rem;
    line-height: 1;
}

.edc-button-dark,
.edc-nav-cta {
    background: var(--edc-black);
    color: var(--edc-white);
    border: 1px solid var(--edc-black);
}

.edc-button-dark:hover,
.edc-nav-cta:hover {
    background: var(--edc-white);
    color: var(--edc-black);
}

.edc-button-light {
    background: var(--edc-white);
    color: var(--edc-black);
    border: 1px solid var(--edc-white);
}

.edc-button-light:hover {
    background: transparent;
    color: var(--edc-white);
}

.edc-button-outline {
    background: var(--edc-white);
    color: var(--edc-black);
    border: 1px solid var(--edc-black);
}

.edc-button-outline:hover {
    background: var(--edc-black);
    color: var(--edc-white);
}

/* Admin bar offset for the fixed site header. */
body.admin-bar {
    padding-top: 116px;
}

body.admin-bar .edc-site-header {
    top: 32px;
}

body.admin-bar .edc-anchor-section {
    scroll-margin-top: 140px;
}

.edc-login-button {
    border: 1px solid var(--edc-black);
    border-radius: var(--edc-radius);
    background: var(--edc-white);
    color: var(--edc-black);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    padding: 0.9rem 1.05rem;
    line-height: 1;
    text-decoration: none;
}

.edc-login-button:hover,
.edc-login-button:focus {
    background: var(--edc-black);
    color: var(--edc-white);
}

.edc-search-modal .modal-content {
    border-radius: var(--edc-radius);
    border: 1px solid var(--edc-black);
    padding: 1rem;
}

.edc-search-input {
    border: 1px solid var(--edc-black);
    border-radius: var(--edc-radius);
    min-height: 68px;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: var(--edc-letter-mid);
}

.edc-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.edc-quick-links a {
    border: 1px solid var(--edc-black);
    padding: 0.65rem 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.edc-hero,
.edc-page-hero {
    padding: clamp(5rem, 10vw, 11rem) 0 clamp(4rem, 8vw, 8rem);
}

.edc-page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--edc-gray-200);
    background-color: var(--edc-off-white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.edc-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(246, 246, 243, 0.86);
    z-index: 0;
}

.edc-page-hero > .edc-container {
    position: relative;
    z-index: 1;
}

.edc-eyebrow {
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}

.edc-eyebrow-light {
    color: var(--edc-white);
}

.edc-hero-title,
.edc-page-title {
    font-size: clamp(3.15rem, 9.4vw, 10.25rem);
    line-height: 0.91;
    font-weight: 800;
    letter-spacing: var(--edc-letter-tight);
    word-spacing: var(--edc-word-hero);
    margin: 0;
    max-width: 14ch;
}

.edc-page-title {
    font-size: clamp(2.9rem, 7.4vw, 7.4rem);
    max-width: 13ch;
    word-spacing: var(--edc-word-title);
}

.edc-section-title {
    font-size: clamp(2.1rem, 4.8vw, 5.6rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: var(--edc-letter-tight);
    word-spacing: var(--edc-word-title);
    margin: 0;
}

.edc-hero-copy,
.edc-large-copy {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.35;
    font-weight: 500;
    color: var(--edc-gray-700);
}

.edc-large-copy {
    font-size: clamp(1.25rem, 2.25vw, 2rem);
    color: var(--edc-black);
}

.edc-muted-copy {
    color: var(--edc-gray-500);
    font-size: 1rem;
    line-height: 1.6;
}

.edc-hero-strip {
    margin-top: clamp(4rem, 8vw, 8rem);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--edc-black);
}

.edc-hero-strip span,
.edc-hero-strip a {
    min-height: 76px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--edc-black);
    font-weight: 900;
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    text-align: center;
    padding: 0.75rem;
    color: var(--edc-black);
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.edc-hero-strip a {
    cursor: pointer;
}


.edc-hero-strip a:hover,
.edc-hero-strip a:focus {
    background: var(--edc-black);
    color: var(--edc-white);
}

.edc-hero-strip span:last-child,
.edc-hero-strip a:last-child {
    border-right: 0;
}

.edc-section {
    padding: clamp(4rem, 8vw, 8rem) 0;
}


.edc-anchor-section {
    scroll-margin-top: 108px;
}


.edc-problem-section,
.edc-packages-section {
    background: var(--edc-off-white);
}

.edc-rule-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--edc-black);
}

.edc-rule-list div {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--edc-black);
    font-size: 1rem;
    line-height: 1.5;
}

.edc-service-card,
.edc-post-card a,
.edc-package-card,
.edc-process-card {
    display: block;
    min-height: 100%;
    border: 1px solid var(--edc-black);
    padding: clamp(1.35rem, 2vw, 2rem);
    text-decoration: none;
    background: var(--edc-white);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.edc-service-card:hover,
.edc-post-card a:hover {
    background: var(--edc-black);
    color: var(--edc-white);
    transform: translateY(-4px);
}

.edc-card-index,
.edc-process-card span {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 3rem;
}

.edc-service-card h3,
.edc-package-card h3,
.edc-process-card h3,
.edc-post-card h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.6rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: var(--edc-letter-mid);
    margin-bottom: 1rem;
}

.edc-service-card p,
.edc-package-card p,
.edc-process-card p,
.edc-post-card p {
    color: inherit;
    opacity: 0.82;
    line-height: 1.55;
    margin-bottom: 2rem;
}

.edc-card-link,
.edc-package-card span,
.edc-post-card span,
.edc-post-card strong {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.edc-black-section {
    background: var(--edc-black);
    color: var(--edc-white);
}

.edc-black-section .edc-section-title {
    color: var(--edc-white);
}

.edc-feature-stack {
    border-top: 1px solid rgba(255,255,255,0.3);
}

.edc-feature-stack > div {
    padding: 1.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.edc-feature-stack h3 {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: var(--edc-letter-mid);
    margin-bottom: 0.5rem;
}

.edc-feature-stack p {
    margin: 0;
    opacity: 0.78;
    line-height: 1.55;
}

.edc-process-card {
    background: var(--edc-white);
}

.edc-package-card {
    background: var(--edc-off-white);
}

.edc-contact-band {
    border-top: 1px solid var(--edc-black);
}

.edc-footer-cta {
    background: var(--edc-black);
    color: var(--edc-white);
    padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.edc-site-footer {
    background: var(--edc-white);
    border-top: 1px solid var(--edc-black);
}

.edc-footer-main {
    padding: clamp(3rem, 5vw, 5rem) 0 2rem;
}

.edc-footer-brand {
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: var(--edc-letter-mid);
    text-decoration: none;
    text-transform: uppercase;
}

.edc-footer-heading {
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.edc-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.edc-footer-list a {
    text-decoration: none;
    font-weight: 600;
}

.edc-footer-list a:hover {
    text-decoration: underline;
}

.edc-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--edc-gray-200);
    color: var(--edc-gray-500);
    font-size: 0.9rem;
}

.edc-footer-nav {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.edc-content-section {
    padding: clamp(3rem, 6vw, 6rem) 0;
}

.edc-content {
    font-size: 1.08rem;
    line-height: 1.75;
}

.edc-content h2,
.edc-content h3,
.edc-content h4 {
    font-weight: 900;
    letter-spacing: var(--edc-letter-mid);
    line-height: 1;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.edc-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.edc-content h3 {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.edc-content p,
.edc-content li {
    color: var(--edc-gray-700);
}

.edc-content a {
    font-weight: 800;
}

.edc-content blockquote {
    border-left: 4px solid var(--edc-black);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
}

.edc-service-aside {
    position: sticky;
    top: 110px;
    border: 1px solid var(--edc-black);
    padding: 1.5rem;
    background: var(--edc-off-white);
}

.edc-service-aside h2 {
    font-weight: 900;
    letter-spacing: var(--edc-letter-mid);
    line-height: 1;
    margin-bottom: 1rem;
}

.edc-featured-wrap {
    margin-top: -3rem;
}

.edc-featured-image {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border: 1px solid var(--edc-black);
}

.edc-pagination {
    margin-top: 3rem;
}

.edc-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.edc-pagination a,
.edc-pagination span {
    border: 1px solid var(--edc-black);
    padding: 0.6rem 0.8rem;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 74px;
    }

    body.admin-bar {
        padding-top: 106px;
    }

    body.admin-bar .edc-anchor-section {
        scroll-margin-top: 130px;
    }

    .edc-site-header .navbar {
        min-height: 74px;
    }

    .edc-hero-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .edc-hero-strip span,
    .edc-hero-strip a {
        border-bottom: 1px solid var(--edc-black);
    }

    .edc-hero-strip span:nth-child(2n),
    .edc-hero-strip a:nth-child(2n) {
        border-right: 0;
    }

    .edc-hero-strip span:nth-last-child(-n+2),
    .edc-hero-strip a:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 782px) {
    body.admin-bar {
        padding-top: 120px;
    }

    body.admin-bar .edc-site-header {
        top: 46px;
    }

    body.admin-bar .edc-anchor-section {
        scroll-margin-top: 144px;
    }
}

@media (max-width: 575.98px) {
    .edc-brand-text {
        font-size: 0.9rem;
    }

    .edc-brand-mark {
        width: 38px;
        height: 38px;
    }

    .edc-icon-button,
    .edc-menu-button {
        width: 40px;
        height: 40px;
    }

    .edc-hero,
    .edc-page-hero {
        padding-top: 3.25rem;
        padding-bottom: 3.5rem;
    }

    .edc-hero-title,
    .edc-page-title {
        max-width: 100%;
        font-size: clamp(2.65rem, 15vw, 4.9rem);
        line-height: 0.94;
        word-spacing: 0.14em;
    }

    .edc-hero-copy,
    .edc-large-copy {
        font-size: 1.05rem;
        line-height: 1.38;
    }

    .edc-hero .d-flex.flex-wrap.gap-3 {
        gap: 0.75rem !important;
    }

    .edc-hero .edc-button-dark,
    .edc-hero .edc-button-outline {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
        padding: 0.95rem 1rem;
    }

    .edc-hero-strip {
        margin-top: 3rem;
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        border: 1px solid var(--edc-black);
        white-space: normal;
    }

    .edc-hero-strip span,
    .edc-hero-strip a,
    .edc-hero-strip span:nth-child(2n),
    .edc-hero-strip a:nth-child(2n),
    .edc-hero-strip span:nth-last-child(-n+2),
    .edc-hero-strip a:nth-last-child(-n+2) {
        min-height: 74px;
        width: 100%;
        padding: 0.95rem 1rem;
        border-right: 0;
        border-bottom: 1px solid var(--edc-black);
        font-size: 0.72rem;
    }

    .edc-hero-strip span:last-child,
    .edc-hero-strip a:last-child {
        border-right: 0;
        border-bottom: 0;
    }
}

.edc-section-action {
    margin-top: 1.5rem;
}

.edc-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.edc-inline-link::after {
    content: "→";
    font-size: 1rem;
    line-height: 1;
}

.edc-inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.35em;
}

.edc-black-section .edc-inline-link {
    color: var(--edc-white);
}
