/*
Theme Name: Haley Pike Solar Project
Theme URI: https://edelenrenewables.com/
Author: Antigravity
Description: WordPress theme for the Haley Pike Solar Project.
Version: 1.0.0
Text Domain: haleypikesolar
*/

@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/Sohne-Leicht.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

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

:root {
    --navy: #06192b;
    --navy-soft: #082033;
    --gold: #f7a81c;
    --white: #ffffff;
    --off-white: #e7e8e9;
    --ink: #06192b;
    --green: #263c36;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.haley-pike-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.haley-pike-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.haley-pike-site .hero-section {
    background: var(--navy) !important;
    color: var(--white);
    padding: 92px 0 92px;
}

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

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

.hero-section h1 {
    max-width: 1060px;
    color: var(--white);
    font-family: 'GT Super Text', Georgia, serif;
    font-size: clamp(3.4rem, 6.5vw, 5.6rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
}

.hero-copy {
    max-width: 1060px;
    margin-top: 32px;
    font-size: clamp(1.12rem, 1.85vw, 1.45rem);
    line-height: 1.46;
    color: rgba(255, 255, 255, 0.96);
}

body.haley-pike-site .video-section {
    background: var(--navy) !important;
    padding: 0 0 80px;
}

.video-inner {
    max-width: 1120px;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 10000 / 5273;
    overflow: hidden;
    background: #000000;
    border: 2px solid rgba(247, 168, 28, 0.72);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: clamp(76px, 9vw, 112px);
    height: clamp(76px, 9vw, 112px);
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: rgba(6, 25, 43, 0.76);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.video-play-button:hover,
.video-play-button:focus-visible {
    background: rgba(247, 168, 28, 0.94);
    transform: translate(-50%, -50%) scale(1.04);
}

.video-play-button:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 5px;
}

.video-play-icon {
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: clamp(16px, 2vw, 24px) solid transparent;
    border-bottom: clamp(16px, 2vw, 24px) solid transparent;
    border-left: clamp(25px, 3vw, 38px) solid var(--white);
}

.video-frame.is-playing .video-play-button {
    opacity: 0;
    pointer-events: none;
}

body.haley-pike-site .about-section {
    position: relative;
    padding: 82px 0 140px;
    background: var(--white) !important;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
    gap: 62px;
    align-items: start;
}

.about-copy {
    padding-top: 28px;
}

.about-copy h2,
.benefits-intro-copy h2,
.impact-copy h2,
.land-copy h2 {
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 2.55rem);
    font-weight: 600;
    letter-spacing: 0;
}

.about-list {
    padding: 0;
    margin-top: 34px;
    color: var(--navy);
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 18px;
    font-size: clamp(1.08rem, 1.6vw, 1.22rem);
    line-height: 1.48;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
}

.about-media {
    position: relative;
}

.about-photo {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
}

.about-map {
    position: absolute;
    right: -22px;
    bottom: -54px;
    width: 86%;
    border: 14px solid var(--white);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    transform: rotate(4deg);
}

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

.benefits-illustration {
    width: min(100%, 1120px);
    margin: 0 auto 42px;
}

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

.benefits-kicker,
.impact-kicker {
    margin-top: 6px;
    color: var(--gold);
    font-size: clamp(1.25rem, 2.1vw, 1.65rem);
    font-weight: 600;
    line-height: 1.2;
}

.benefits-intro-copy p,
.impact-copy p,
.land-copy p {
    margin-top: 28px;
    color: var(--navy);
    font-size: clamp(1.12rem, 1.8vw, 1.35rem);
    line-height: 1.5;
}

body.haley-pike-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: 340px;
    object-fit: cover;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 78px;
    padding-top: 30px;
    padding-bottom: 76px;
    border-top: 1px solid rgba(247, 168, 28, 0.85);
}

.stats-card h3 {
    color: var(--gold);
    font-size: clamp(1.8rem, 2.8vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0;
}

.stats-card > p {
    margin-top: 26px;
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.97);
}

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

.card-list li {
    margin-bottom: 8px;
    font-size: clamp(1.05rem, 1.65vw, 1.22rem);
    line-height: 1.4;
}

body.haley-pike-site .impact-section,
body.haley-pike-site .land-section {
    background: var(--white) !important;
}

.impact-section {
    padding: 70px 0 22px;
}

.land-section {
    padding: 16px 0 86px;
    border-bottom: 2px solid var(--gold);
}

.impact-copy,
.land-copy {
    max-width: 1120px;
}

body.haley-pike-site .contact-section {
    position: relative;
    padding: 70px 0 72px;
    background: var(--green) !important;
    color: var(--white);
    text-align: center;
}

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

.contact-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border: 4px solid var(--gold);
    border-radius: 999px;
    color: var(--gold);
    font-size: 2rem;
    line-height: 1;
}

.contact-section h2 {
    color: var(--white);
    font-size: clamp(2rem, 3.2vw, 2.55rem);
    font-weight: 600;
    letter-spacing: 0;
}

.contact-section p {
    max-width: 1060px;
    margin: 8px auto 0;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
}

.contact-section a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.haley-pike-site .sunset-section {
    background: #000000 !important;
}

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

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

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

.footer-logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
    max-width: 100%;
}

.footer-logo {
    display: block;
    height: auto;
}

.footer-logo-edelen {
    width: 250px;
}

.footer-logo-social-impact {
    width: 210px;
}

.footer-inner p {
    font-size: 0.95rem;
}

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

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

    .about-map {
        right: 0;
        width: 78%;
    }
}

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

    body.haley-pike-site .hero-section {
        padding: 52px 0 44px;
    }

    body.haley-pike-site .video-section {
        padding-bottom: 44px;
    }

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

    body.haley-pike-site .about-section {
        padding: 42px 0 96px;
    }

    .about-copy {
        padding-top: 0;
    }

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

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

    .benefits-illustration {
        margin-bottom: 26px;
    }

    .stats-grid {
        display: grid;
        padding-top: 26px;
        padding-bottom: 46px;
    }

    .impact-section {
        padding-top: 46px;
    }

    .land-section {
        padding-bottom: 56px;
    }

    body.haley-pike-site .contact-section {
        padding: 44px 0;
    }

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

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

    .footer-logos {
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .footer-logo-edelen {
        width: min(44vw, 168px);
    }

    .footer-logo-social-impact {
        width: min(38vw, 146px);
    }
}
