/* EAD Home Rebuild 1.1.4. Loaded only on the plugin-controlled landing-page template. */

:root {
    --ead-navy-950: #02060c;
    --ead-navy-900: #050d18;
    --ead-navy-800: #071425;
    --ead-navy-700: #102844;
    --ead-gold-500: #d99a2b;
    --ead-gold-300: #f2bf62;
    --ead-cream: #f4efe3;
    --ead-muted: #c9c1b3;
    --ead-line: rgba(217, 154, 43, 0.58);
}

html {
    scroll-behavior: smooth;
    background: var(--ead-navy-950);
}

body.ead-home-rebuild-template {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--ead-navy-950);
    color: var(--ead-cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.ead-page,
.ead-page * {
    box-sizing: border-box;
}

.ead-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 88% 0%, rgba(16, 40, 68, 0.9), transparent 42rem),
        linear-gradient(180deg, var(--ead-navy-900), var(--ead-navy-950));
    color: var(--ead-cream);
}

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

.ead-page img {
    max-width: 100%;
}

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

.ead-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ead-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 99999;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--ead-gold-300);
    color: var(--ead-navy-950);
    font-weight: 700;
}

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

.ead-site-header {
    border-bottom: 1px solid rgba(217, 154, 43, 0.38);
    background: rgba(7, 20, 37, 0.96);
}

.ead-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 88px;
    padding-block: 14px;
}

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

.ead-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--ead-navy-900);
}

.ead-brand-copy {
    display: grid;
    gap: 2px;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    font-size: 0.82rem;
    white-space: nowrap;
}

.ead-brand-copy span:last-child {
    color: var(--ead-gold-500);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
}

.ead-primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 3vw, 38px);
    font-size: 0.98rem;
}

.ead-primary-nav a {
    padding-block: 10px;
    border-bottom: 1px solid transparent;
}

.ead-primary-nav a:hover,
.ead-primary-nav a:focus-visible {
    color: var(--ead-gold-300);
    border-bottom-color: var(--ead-gold-500);
}

.ead-hero {
    padding-block: 28px 18px;
    border-bottom: 1px solid var(--ead-line);
}

.ead-hero img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(217, 154, 43, 0.36);
    border-radius: 14px;
    background: var(--ead-navy-950);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.ead-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 18px;
}

.ead-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid var(--ead-gold-500);
    border-radius: 8px;
    background: rgba(5, 13, 24, 0.78);
    color: var(--ead-gold-300);
    font-size: 0.92rem;
    font-weight: 700;
}

.ead-button:hover,
.ead-button:focus-visible {
    transform: translateY(-1px);
    border-color: var(--ead-gold-300);
}

.ead-button-primary {
    background: linear-gradient(135deg, #c7861e, var(--ead-gold-300));
    color: #06101c;
}

.ead-section {
    scroll-margin-top: 20px;
    padding-block: clamp(44px, 6vw, 78px) 0;
}

.ead-section-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    color: var(--ead-gold-300);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: clamp(1rem, 1.3vw, 1.35rem);
    white-space: nowrap;
}

.ead-section-heading::before,
.ead-section-heading::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--ead-line);
}

.ead-grid {
    display: grid;
    gap: 20px;
    align-items: stretch;
}

.ead-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.ead-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ead-line);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 22, 38, 0.99), rgba(3, 10, 19, 0.99));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.ead-card-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid rgba(217, 154, 43, 0.38);
    background: var(--ead-navy-950);
}

.ead-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ead-image-contain {
    object-fit: contain;
}

.ead-image-logo {
    object-fit: contain;
    padding: clamp(18px, 3vw, 34px);
    background: #f4efe3;
}

.ead-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 20px 18px 22px;
    text-align: center;
}

.ead-card h3 {
    margin: 0 0 9px;
    color: var(--ead-gold-300);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 1.7vw, 1.8rem);
    font-weight: 500;
    line-height: 1.08;
}

.ead-card p {
    margin: 0 0 12px;
    color: var(--ead-cream);
    font-size: 0.94rem;
}

.ead-card-tags {
    margin-top: auto;
    color: var(--ead-gold-500);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
}

.ead-trust {
    margin-top: clamp(46px, 7vw, 88px);
    padding-block: 26px;
    border-top: 1px solid var(--ead-line);
    border-bottom: 1px solid var(--ead-line);
    text-align: center;
}

.ead-trust h2,
.ead-site-footer h2 {
    margin: 0 0 10px;
    color: var(--ead-gold-300);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 1.25rem;
}

.ead-trust p {
    margin: 0 auto;
    max-width: 850px;
    color: var(--ead-cream);
    font-size: 1rem;
}

.ead-site-footer {
    scroll-margin-top: 20px;
    padding-block: 30px 42px;
    background: #02060c;
}

.ead-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ead-contact-grid a {
    min-width: 0;
    padding: 14px 12px;
    border: 1px solid rgba(217, 154, 43, 0.34);
    border-radius: 8px;
    overflow-wrap: anywhere;
    color: var(--ead-gold-300);
    text-align: center;
    font-size: 0.88rem;
}

.ead-contact-grid a:hover,
.ead-contact-grid a:focus-visible {
    border-color: var(--ead-gold-300);
    background: rgba(7, 20, 37, 0.75);
}

.ead-copyright {
    margin: 20px 0 0;
    color: var(--ead-muted);
    text-align: center;
    font-size: 0.78rem;
}

@media (max-width: 1050px) {
    .ead-header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .ead-primary-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 24px;
    }

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

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

@media (max-width: 660px) {
    .ead-container {
        width: min(calc(100% - 28px), 1320px);
    }

    .ead-header-inner {
        min-height: 0;
        padding-block: 12px;
    }

    .ead-brand img {
        width: 46px;
        height: 46px;
    }

    .ead-brand-copy {
        font-size: 0.72rem;
    }

    .ead-primary-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 10px;
    }

    .ead-primary-nav a {
        padding: 8px 0;
    }

    .ead-hero {
        padding-top: 16px;
    }

    .ead-hero img {
        border-radius: 9px;
    }

    .ead-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ead-grid-four,
    .ead-grid-three,
    .ead-contact-grid {
        grid-template-columns: 1fr;
    }

    .ead-section-heading {
        gap: 10px;
        white-space: normal;
        text-align: center;
    }

    .ead-section-heading::before,
    .ead-section-heading::after {
        min-width: 28px;
    }

    .ead-card-media {
        aspect-ratio: 16 / 9;
    }
}

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

    .ead-button {
        transition: none;
    }
}
