/*
Theme Name: East St. Louis Community Solar
Theme URI: https://edelenrenewables.com/
Author: Antigravity
Description: Real-text WordPress theme for the East St. Louis Community Solar Project.
Version: 2.0.1
Text Domain: eaststlouissolar
*/

@font-face {
    font-family: 'GT Super Text';
    src: url('assets/fonts/GT-Super-Text-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'GT Super Text';
    src: url('assets/fonts/GT-Super-Text-Book-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Sohne';
    src: url('assets/fonts/Söhne-Leicht.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Sohne';
    src: url('assets/fonts/Söhne-Kräftig.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

:root {
    --navy: #06192b;
    --navy-soft: #0b2137;
    --gold: #f4ae3a;
    --gold-deep: #d79228;
    --white: #ffffff;
    --off-white: #f3f4f5;
    --ink: #13263b;
    --muted: #5b6c7e;
    --rule: rgba(255, 255, 255, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.eaststl-site {
    margin: 0;
    background: var(--white) !important;
    color: var(--ink);
    font-family: 'Sohne', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.eaststl-site .site-main {
    display: block;
    background: var(--white) !important;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

.container {
    width: min(100%, 1206px);
    margin: 0 auto;
    padding: 0 40px;
}

body.eaststl-site .hero-section {
    background: var(--navy) !important;
    color: var(--white);
    padding: 82px 0 64px;
}

.hero-content {
    max-width: 980px;
}

.eyebrow {
    margin-bottom: 16px;
    color: #ffb12c;
    font-family: 'GT Super Text', Georgia, serif;
    font-size: clamp(2rem, 2.9vw, 2.7rem);
    font-style: italic;
    line-height: 1.1;
}

.hero-section h1 {
    max-width: 840px;
    font-family: 'GT Super Text', Georgia, serif;
    font-size: clamp(3rem, 6.2vw, 5.15rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.hero-copy {
    max-width: 1040px;
    margin-top: 26px;
    font-size: clamp(1.08rem, 1.95vw, 1.34rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.94);
}

body.eaststl-site .video-section {
    width: 100%;
    background: #e6e8ea !important;
}

.video-frame {
    width: min(100%, 1366px);
    margin: 0 auto;
    aspect-ratio: 1366 / 703;
}

.video-frame-embed {
    aspect-ratio: auto;
    position: relative;
    padding-top: 52.73%;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}

.video-frame-embed iframe {
    position: absolute;
    inset: 0;
}

body.eaststl-site .logos-section {
    background: var(--white) !important;
    padding: 46px 0 38px;
}

.logos-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    align-items: center;
    gap: 42px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(19, 38, 59, 0.22);
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-card-left {
    justify-content: flex-start;
}

.logo-card-right {
    justify-content: flex-end;
}

body.eaststl-site .logo-card-left img {
    max-width: 420px;
}

.logo-card-center img {
    max-width: 118px;
}

.logo-card-right img {
    max-width: 430px;
}

body.eaststl-site .about-section {
    padding: 52px 0 92px;
    background: var(--white) !important;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
    gap: 56px;
    align-items: start;
}

.about-copy h2,
.benefits-intro-copy h2,
.sovereignty-copy h2 {
    color: var(--ink);
    font-size: clamp(2.2rem, 3.15vw, 2.95rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.about-list {
    padding: 0;
    margin-top: 30px;
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 22px;
    font-size: clamp(1.05rem, 1.55vw, 1.16rem);
    line-height: 1.56;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ink);
    font-size: 1.15em;
}

.about-media {
    position: relative;
    padding-top: 18px;
}

.about-photo {
    width: 100%;
    box-shadow: 0 20px 40px rgba(7, 25, 43, 0.12);
}

.about-map {
    position: absolute;
    right: -24px;
    bottom: -54px;
    width: 61%;
    border: 14px solid var(--white);
    box-shadow: 0 18px 34px rgba(7, 25, 43, 0.16);
    transform: rotate(-8deg);
}

body.eaststl-site .benefits-intro {
    padding: 18px 0 0;
    background: var(--white) !important;
}

.benefits-illustration {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 18px;
}

.benefits-intro-copy {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 54px;
}

.benefits-kicker,
.sovereignty-kicker {
    margin-top: 8px;
    color: var(--gold);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    line-height: 1.2;
}

.benefits-intro-copy p {
    margin-top: 28px;
    font-size: clamp(1.2rem, 1.95vw, 1.42rem);
    line-height: 1.5;
}

.benefits-emphasis {
    font-weight: 600;
}

body.eaststl-site .stats-section {
    background: var(--navy) !important;
    color: var(--white);
    overflow: hidden;
}

.stats-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.stats-photos img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding-top: 28px;
    padding-bottom: 62px;
}

.stats-card {
    padding-top: 20px;
    border-top: 1px solid rgba(244, 174, 58, 0.82);
}

.stats-card h3 {
    color: var(--gold);
    font-size: clamp(1.95rem, 2.7vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.stats-card > p {
    margin-top: 24px;
    font-size: clamp(1.06rem, 1.65vw, 1.16rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.97);
}

.card-list {
    padding-left: 22px;
    margin-top: 28px;
}

.card-list li {
    margin-bottom: 16px;
    font-size: clamp(1.04rem, 1.65vw, 1.12rem);
    line-height: 1.48;
}

body.eaststl-site .environment-section {
    background: var(--white) !important;
    padding: 62px 0 36px;
}

.environment-copy {
    max-width: 1120px;
}

.environment-copy h2 {
    color: var(--ink);
    font-size: clamp(2.2rem, 3.15vw, 2.95rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.environment-list {
    padding: 0;
    margin-top: 28px;
    list-style: none;
}

.environment-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 18px;
    font-size: clamp(1.1rem, 1.7vw, 1.22rem);
    line-height: 1.55;
}

.environment-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 1.15em;
}

body.eaststl-site .sovereignty-section {
    background: var(--white) !important;
    padding: 64px 0 74px;
}

.sovereignty-copy {
    max-width: 1120px;
}

.sovereignty-copy p {
    margin-top: 30px;
    font-size: clamp(1.22rem, 1.9vw, 1.42rem);
    line-height: 1.52;
}

body.eaststl-site .contact-section {
    position: relative;
    padding: 66px 0 62px;
    background:
        linear-gradient(rgba(50, 67, 61, 0.95), rgba(50, 67, 61, 0.95)),
        url('hero_background.png') center center / cover;
    border-top: 2px solid var(--gold);
    color: var(--white);
    text-align: center;
}

.contact-copy {
    max-width: 900px;
}

.contact-icon {
    color: var(--gold);
    font-size: 2.7rem;
    line-height: 1;
}

.contact-section h2 {
    margin-top: 12px;
    font-size: clamp(2.25rem, 3.25vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.contact-section p {
    max-width: 760px;
    margin: 14px auto 0;
    font-size: 1.12rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
}

.contact-section a {
    display: inline-block;
    margin-top: 16px;
    color: #ffbf42;
    font-weight: 600;
    font-size: 1.18rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.eaststl-site .sunset-section {
    background: #000 !important;
}

.sunset-section img {
    width: 100%;
    height: min(34vw, 300px);
    object-fit: cover;
}

body.eaststl-site .site-footer {
    background: var(--navy) !important;
    color: rgba(255, 255, 255, 0.84);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-inner img {
    width: 112px;
}

.footer-inner p {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 28px;
    }

    .logos-grid,
    .about-grid,
    .stats-grid {
        gap: 32px;
    }

    .about-map {
        right: 0;
        bottom: -36px;
        width: 56%;
    }
}

@media (max-width: 780px) {
    .container {
        padding: 0 20px;
    }

    .hero-section {
        padding: 46px 0 34px;
    }

    .logos-grid,
    .about-grid,
    .stats-photos,
    .stats-grid,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .logos-grid {
        display: grid;
        justify-items: center;
    }

    .logo-card-left,
    .logo-card-right {
        justify-content: center;
    }

    .about-section {
        padding-bottom: 44px;
    }

    .about-media {
        padding-bottom: 90px;
    }

    .about-map {
        width: 64%;
        bottom: 0;
    }

    .benefits-intro-copy p {
        margin-top: 24px;
    }

    .stats-grid {
        display: grid;
        padding-top: 22px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .sunset-section img {
        height: 190px;
    }

    .footer-inner {
        display: flex;
        text-align: center;
    }
}
