/* =========================================================
   SHARED PUBLIC PAGE SYSTEM
   Loaded after each page-specific stylesheet.
   Keeps About, Projects, and Plans visually consistent.
========================================================= */

/* One shared public-page hero height, matching the homepage. */
.about-hero,
.projects-hero,
.plans-hero {
    min-height: 960px;
    padding: 170px max(5vw, 34px) 120px;
    display: flex;
    align-items: center;
}

/* Align every public hero directly beneath the left edge of the logo. */
.about-hero-inner,
.projects-hero-content,
.plans-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Shared text measure while allowing each page its own headline size. */
.about-hero-inner,
.projects-hero-content,
.plans-hero-content {
    padding-right: min(8vw, 120px);
}

.about-hero-copy,
.projects-hero-copy,
.plans-hero-copy {
    max-width: 720px;
    margin-top: 30px;
    color: #c4d0e4;
    font-size: 19px;
    line-height: 1.75;
}

/* Consistent eyebrow spacing and treatment. */
.about-eyebrow,
.projects-hero .section-eyebrow,
.plans-hero .section-eyebrow {
    margin: 0 0 20px;
    color: var(--green-300);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Consistent action layout. */
.about-hero-actions,
.projects-hero-actions,
.plans-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

/* One shared button system for the three public heroes. */
.about-hero .button,
.projects-hero .button,
.plans-hero .button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-hero .button:hover,
.projects-hero .button:hover,
.plans-hero .button:hover {
    transform: translateY(-3px);
}

.about-hero .button-primary,
.projects-hero .button-primary,
.plans-hero .button-primary {
    background: var(--green-400);
    color: var(--navy-950);
    box-shadow: 0 16px 36px rgba(53, 199, 89, 0.22);
}

.about-hero .button-primary:hover,
.projects-hero .button-primary:hover,
.plans-hero .button-primary:hover {
    background: var(--green-300);
    box-shadow: 0 22px 46px rgba(53, 199, 89, 0.3);
}

.about-hero .button-secondary,
.projects-hero .button-secondary,
.plans-hero .button-secondary {
    border-color: rgba(255, 255, 255, 0.23);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    backdrop-filter: blur(12px);
}

.about-hero .button-secondary:hover,
.projects-hero .button-secondary:hover,
.plans-hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Preserve each page's individual headline scale, but normalize rhythm. */
.about-hero h1,
.projects-hero h1,
.plans-hero h1 {
    margin: 0;
    color: #ffffff;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.about-hero h1 span,
.projects-hero h1 span,
.plans-hero h1 span {
    display: block;
    color: var(--green-400);
}

/* Keep the Projects supporting message aligned with the shared system. */
.projects-hero-message {
    margin-top: 48px;
}

@media (max-width: 1120px) {
    .about-hero,
    .projects-hero,
    .plans-hero {
        min-height: 900px;
    }
}

@media (max-width: 760px) {
    .about-hero,
    .projects-hero,
    .plans-hero {
        min-height: auto;
        padding: 135px 18px 90px;
        align-items: flex-start;
    }

    .about-hero-inner,
    .projects-hero-content,
    .plans-hero-content {
        padding-right: 0;
    }

    .about-hero-copy,
    .projects-hero-copy,
    .plans-hero-copy {
        font-size: 17px;
        line-height: 1.65;
    }

    .about-hero-actions,
    .projects-hero-actions,
    .plans-hero-actions {
        flex-direction: column;
    }

    .about-hero .button,
    .projects-hero .button,
    .plans-hero .button {
        width: 100%;
    }
}
