:root {
    --ed-primary: #093b68;
    --ed-ink: #17354e;
    --ed-muted: #526b80;
    --ed-surface: #f4f8fc;
    --ed-line: #dce6ef;
}
.site-modern {
    color: var(--ed-ink);
}
.site-modern h1,
.site-modern h2,
.site-modern h3 {
    color: var(--ed-primary);
    text-transform: none;
}
.site-modern p {
    text-align: left;
}
.ed-page-hero {
    background: var(--ed-primary);
    color: #fff;
    padding: clamp(40px, 7vw, 80px) 0;
}
.ed-page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 1000px;
}
.ed-page-hero p {
    color: #e2edf6;
    max-width: 780px;
    font-size: 1.1rem;
    line-height: 1.75;
}
.ed-eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}
.ed-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.ed-project-card {
    border: 1px solid var(--ed-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 8px 24px #093b6808;
}
.ed-project-card > img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.ed-project-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ed-project-card h2 {
    font-size: 1.3rem;
    line-height: 1.4;
}
.ed-project-card p {
    line-height: 1.7;
    color: var(--ed-muted);
}
.site-modern main a {
    color: var(--ed-primary);
}
.ed-project-link {
    font-weight: 700;
    margin-top: auto;
    padding-top: 8px;
}
.ed-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    background: #eaf2fa;
    font-size: 0.85rem;
    color: var(--ed-primary);
    margin: 0 6px 8px 0;
}
.ed-project-lead-image {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 16px;
    background: var(--ed-surface);
}
.ed-project-copy {
    font-size: 1.06rem;
    line-height: 1.9;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.ed-project-section {
    padding: 26px 0;
    border-bottom: 1px solid var(--ed-line);
}
.ed-project-section h2 {
    font-size: 1.6rem;
}
.ed-project-facts {
    background: var(--ed-surface);
    border: 1px solid var(--ed-line);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 160px;
}
.ed-project-facts dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 18px;
    color: var(--ed-muted);
}
.ed-project-facts dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}
.ed-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.ed-gallery img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: var(--ed-surface);
}
.ed-cta {
    background: var(--ed-surface);
    border-radius: 18px;
    padding: 32px;
}
.ed-cta h2 {
    font-size: 1.6rem;
}
.ed-btn-primary,
.site-modern .btn-primary {
    background: var(--ed-primary);
    border-color: var(--ed-primary);
    color: #fff;
}
.ed-btn-primary:hover,
.site-modern .btn-primary:hover {
    background: #062b4d;
    border-color: #062b4d;
    color: #fff;
}
.ed-btn-outline {
    border: 1px solid var(--ed-primary);
    color: var(--ed-primary);
}
.ed-btn-outline:hover {
    color: #fff;
    background: var(--ed-primary);
}
.ed-faq-list details {
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    padding: 18px 22px;
    background: #fff;
    margin-bottom: 14px;
}
.ed-faq-list summary {
    font-weight: 700;
    color: var(--ed-primary);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1.5;
}
.ed-faq-list details p {
    line-height: 1.8;
    margin: 16px 0 2px;
    color: var(--ed-muted);
}
.site-modern :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #4b94cb;
    outline-offset: 3px;
}
.site-modern .form-control,
.site-modern .form-select {
    min-height: 46px;
}
.site-modern .btn {
    min-height: 44px;
    padding: 10px 18px;
}
.ed-pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 32px 0;
}
.ed-pagination a {
    padding: 10px 16px;
    border: 1px solid var(--ed-line);
    border-radius: 8px;
    text-decoration: none;
}
.ed-pagination a[aria-current='page'] {
    background: var(--ed-primary);
    color: #fff;
}
.ed-empty {
    background: var(--ed-surface);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
}
.ed-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    background: #fff;
    padding: 12px;
    color: var(--ed-primary);
}
.ed-skip-link:focus {
    top: 10px;
}
@media (max-width: 991px) {
    .ed-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ed-project-facts {
        position: static;
    }
    .ed-page-hero {
        padding: 40px 0;
    }
    .ed-cta {
        padding: 24px;
    }
}
@media (max-width: 575px) {
    .ed-project-grid,
    .ed-gallery {
        grid-template-columns: 1fr;
    }
    .ed-project-card-body {
        padding: 20px;
    }
    .ed-page-hero h1 {
        font-size: 2rem;
    }
    .ed-project-copy {
        font-size: 1rem;
    }
    .site-modern input,
    .site-modern select,
    .site-modern textarea {
        font-size: 16px;
    }
    .ed-project-facts {
        padding: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    .site-modern * {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

.site-modern main a.ed-btn-primary {
    color: #fff;
}
.site-modern main a.ed-btn-primary:hover {
    color: #fff;
}
