/* ============================================================
   Index module.

   This file is named for the module, so Zero loads it on every
   Index endpoint — /about, /purity, /contact, all of them. Shared
   editorial styles live here alongside the homepage's own.
   ============================================================ */

/* ---------- Shared editorial furniture ---------- */
.page-eyebrow {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 1rem;
}

.prose .lede {
    font-size: 1.45rem;
    line-height: 1.55;
    color: var(--parchment);
    margin-bottom: 2rem;
}

.prose h2 {
    margin-top: 2.5rem;
}

.italic {
    font-style: italic;
}

.closing {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gold-bright);
}

.closing-actions {
    margin: 2.5rem 0 1rem;
}

/* ---------- Homepage hero ---------- */
.hero {
    max-width: 1040px;
    margin: 0 auto;
    padding: 3rem 0 1rem;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0 auto 1.5rem;
}

.hero-title {
    /* Ultra runs very wide: "TWENTY-ONE" is ~8em across, so the ceiling here is
       set by the 1040px container, not by taste. */
    font-size: clamp(2rem, 7.6vw, 6rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    /* Slide the gradient across the letterforms so the gold catches the light. */
    background-size: 100% 260%;
    animation: leaf-drift 9s ease-in-out infinite alternate;
}

@keyframes leaf-drift {
    from { background-position: 50% 0%; }
    to   { background-position: 50% 100%; }
}

.hero-motto {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: clamp(0.9rem, 2.2vw, 1.3rem);
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 auto 2.5rem;
}

.hero-lede {
    max-width: 60ch;
    margin: 0 auto 2.5rem;
    font-size: 1.35rem;
    line-height: 1.6;
}

.hero-proclamation {
    max-width: 52ch;
    margin: 0 auto 2.5rem;
    padding: 1.4rem 2rem;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold-bright);
    border-top: 1px solid var(--gold-veil);
    border-bottom: 1px solid var(--gold-veil);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

/* ---------- Pillars ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.pillar {
    text-align: center;
}

.pillar p {
    max-width: none;
    margin-bottom: 0;
}

.pillar-glyph {
    display: block;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold-veil);
}

/* ---------- Ledger ---------- */
.ledger-list {
    margin: 2.5rem 0 1.5rem;
}

.ledger-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px dashed var(--gold-veil);
}

.ledger-row dt {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--parchment-dim);
}

/* The dotted leader between label and figure. */
.ledger-row dt::after {
    content: "";
    display: inline-block;
    width: 0;
}

.ledger-row dd {
    margin: 0 0 0 auto;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
}

.ledger-note {
    font-style: italic;
    text-align: right;
    color: var(--parchment-dim);
    max-width: none;
}

@media (max-width: 720px) {
    .hero {
        padding-top: 1.5rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
