/* Shared dark page-header tone: subtle green light over the deep base */
.page-header,
header.hero,
section.hero.dark-bg {
    background-color: #050c05;
    background-image:
        radial-gradient(ellipse 75% 100% at 100% 0%, rgba(34,197,94,0.16) 0%, rgba(34,197,94,0) 70%),
        radial-gradient(ellipse 70% 90% at 0% 100%, rgba(22,58,30,0.9) 0%, rgba(22,58,30,0) 75%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* Homepage hero keeps its dot texture above the tone */
section.hero.dark-bg {
    background-image:
        radial-gradient(circle, #1e3320 0.9px, transparent 0.9px),
        radial-gradient(ellipse 75% 100% at 100% 0%, rgba(34,197,94,0.16) 0%, rgba(34,197,94,0) 70%),
        radial-gradient(ellipse 70% 90% at 0% 100%, rgba(22,58,30,0.9) 0%, rgba(22,58,30,0) 75%);
    background-repeat: repeat, no-repeat, no-repeat;
    background-size: 26px 26px, 100% 100%, 100% 100%;
}

/* One header typography and spacing standard across all pages */
.page-header,
header.hero {
    box-sizing: border-box;
    padding-top: 9.5rem;
    padding-bottom: 3.5rem;
}
@media (min-width: 769px) {
    .page-header,
    header.hero {
        min-height: 440px;
    }
}
.page-header h1,
header.hero h1 {
    max-width: 1100px;
    margin: 0;
    color: #f5f1e8;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.page-header .page-subtitle,
header.hero h1 + p {
    max-width: 600px;
    margin: 1.25rem 0 0;
    color: rgba(245,241,232,0.7);
    font-size: 1.05rem;
    line-height: 1.75;
}
.page-header .page-back,
header.hero .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: rgba(245,241,232,0.65);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}
.page-header .page-back:hover,
header.hero .back-link:hover {
    color: #f5f1e8;
}
header.hero .eyebrow {
    margin-bottom: 1rem;
}
.page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}
@media (max-width: 768px) {
    .page-header-inner { padding: 0; }
}
