/* ==========================================================================
   Inner-page hero — every page except the homepage.

   The templates all share the same hero skeleton (.hero > .eyebrow +
   .hero__title + .hero__lede/.hero__manifesto) but none of those classes
   were ever styled, so page headers fell through to base heading styles.
   This sheet gives them one designed system in the site's drafting
   language: mono eyebrow with an accent tick, editorial-scale headline,
   measured lede, a faint accent wash, and ruler ticks along the bottom
   edge that echo the homepage schematic.
   ========================================================================== */

body.theme-dark:not(.is-page-home) .hero {
    position: relative;
    padding-top: clamp(64px, 9vw, 128px);
    padding-bottom: clamp(48px, 7vw, 88px);
}

/* Faint accent wash behind the headline — barely there, adds depth. */
body.theme-dark:not(.is-page-home) .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 75% at 10% 0%, rgba(107, 122, 58, 0.09), transparent 65%);
    pointer-events: none;
}

/* Ruler ticks along the hero's bottom edge — the drafting signature. */
body.theme-dark:not(.is-page-home) .hero::after {
    content: '';
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: 0;
    height: 9px;
    background-image: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 28px);
    border-bottom: 1px solid var(--rule);
    pointer-events: none;
}

/* Eyebrow — mono, muted, led by an accent tick. */
body.theme-dark:not(.is-page-home) .hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.18em;
    margin-bottom: clamp(22px, 3vw, 36px);
    position: relative;
    z-index: 1;
}

body.theme-dark:not(.is-page-home) .hero .eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
    flex: none;
}

/* Headline — true editorial scale, balanced wrap. */
body.theme-dark:not(.is-page-home) .hero .hero__title {
    font-family: var(--heading);
    font-weight: 560;
    font-size: clamp(42px, 5.6vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 22ch;
    text-wrap: balance;
    margin: 0;
    position: relative;
    z-index: 1;
}

body.theme-dark:not(.is-page-home) .hero .hero__title em {
    font-style: italic;
    font-weight: 480;
}

/* Lede block — clear air above it, measured line length, calm weight. */
body.theme-dark:not(.is-page-home) .hero .hero__lede {
    margin-top: clamp(26px, 3.5vw, 44px);
    max-width: 66ch;
    position: relative;
    z-index: 1;
}

body.theme-dark:not(.is-page-home) .hero .hero__manifesto {
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.65;
    color: var(--ink-mute);
    margin: 0;
}

/* The templates wrap the lede in <strong>; render it calm, not shouty. */
body.theme-dark:not(.is-page-home) .hero .hero__manifesto strong {
    font-weight: 420;
    color: var(--ink-2);
}

/* Trust line under the CTAs. */
body.theme-dark:not(.is-page-home) .hero .note {
    color: var(--mute-2);
}

/* ── Philosophy beliefs ─────────────────────────────────────────────── */
.beliefs {
    border-top: 1px solid var(--rule);
}

.belief {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(32px, 4.5vw, 56px) 0;
    border-bottom: 1px solid var(--rule);
}

.belief__num {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.14em;
    color: var(--accent);
    padding-top: 14px;
}

.belief__statement {
    font-family: var(--heading);
    font-weight: 520;
    font-size: clamp(26px, 3.2vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--ink);
    max-width: 26ch;
    margin: 0;
}

.belief__body {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    color: var(--ink-mute);
    max-width: 58ch;
    margin: 14px 0 0;
}

@media (max-width: 560px) {
    .belief { grid-template-columns: 1fr; gap: 8px; }
    .belief__num { padding-top: 0; }
}

/* ── Live proof dashboard (proof page) ──────────────────────────────── */
.liveproof__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 36px;
}

.liveproof__tile {
    border: 1px solid var(--rule);
    border-radius: 2px;
    padding: 22px 20px;
    background: var(--canvas-2);
}

.liveproof__num {
    font-family: var(--mono);
    font-weight: 300;
    font-size: clamp(30px, 3vw, 42px);
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
}

.liveproof__lbl {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 12px;
}

.liveproof__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--mute-2);
    margin-top: 10px;
}

.liveproof__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

@media (prefers-reduced-motion: no-preference) {
    .liveproof__dot { animation: ssBlinkProof 2.6s ease-in-out infinite; }
}
@keyframes ssBlinkProof {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

@media (max-width: 640px) {
    body.theme-dark:not(.is-page-home) .hero {
        padding-top: clamp(44px, 10vw, 64px);
    }
    body.theme-dark:not(.is-page-home) .hero .hero__title {
        font-size: clamp(36px, 10vw, 48px);
    }
}
