/* ============================================================
   SPACEHOLDERS MAGAZINE · article page shell
   Shared by every generated /a/{slug} page. Mirrors the /v
   voice pages: one perfect column of warm paper and ink.
   ============================================================ */

.progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--accent);
    z-index: 10000;
    transition: width 0.1s linear;
}

.sheet {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2rem) 4rem;
}

.folio {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1.6rem 0 0.9rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.folio .folio-cat { color: var(--accent); }

.head { padding: clamp(2.2rem, 6vh, 3.8rem) 0 0; }

.head-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.1rem, 6.5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.head-dek {
    margin-top: 1.1rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    line-height: 1.5;
    color: var(--ink-soft);
}

.byline {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 2rem 0 0;
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.byline-meta { font-size: 0.78rem; line-height: 1.5; color: var(--ink-faint); }
.byline-meta strong {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.plate {
    position: relative;
    margin: 2.4rem 0 0;
    border: 1px solid var(--ink);
    padding: 10px;
    background: var(--paper-deep);
}

.plate img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
}

.body { padding-top: 0.6rem; }

.crosshead {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 3rem 0 1.3rem;
}

.crosshead::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.body p.a {
    font-family: var(--font-serif);
    font-size: clamp(1.22rem, 2.4vw, 1.32rem);
    font-weight: 500;
    line-height: 1.72;
    color: #2A2620;
    margin: 0 0 1.15em;
}

.body .opener::first-letter {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 4.3em;
    line-height: 0.8;
    float: left;
    padding: 0.08em 0.12em 0 0;
    color: var(--accent);
}

/* Mantra-style bullets */
.body p.bullet {
    padding-left: 1.3rem;
    position: relative;
}

.body p.bullet::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0.35em;
    font-size: 0.55em;
    color: var(--accent);
}

.endmark {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3.4rem 0;
    color: var(--accent);
}

.endmark::before, .endmark::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

/* Notes & sources — small print, like an academic colophon */
.refs {
    border: 1px solid var(--line);
    padding: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 2rem;
}

.ref-rows { margin-top: 0.8rem; }

.ref-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.6rem 0;
    border-top: 1px solid var(--line);
}

.ref-row:first-child { border-top: none; }

.ref-label {
    flex: 0 0 150px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.ref-cite {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

@media (max-width: 520px) {
    .ref-row { flex-direction: column; gap: 0.15rem; }
    .ref-label { flex: none; }
}

/* Prev / next pager */
.pager {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pager-link {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-width: 46%;
    transition: transform 0.35s var(--ease);
}

.pager-link.next { text-align: right; align-items: flex-end; }
.pager-link:hover { transform: translateY(-2px); }

.pager-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 0.98rem;
    line-height: 1.3;
    color: var(--ink);
}

/* Inverted subscribe card */
.subscribe {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(1.6rem, 5vw, 2.4rem);
}

.subscribe .kicker { color: var(--accent-soft); }

.subscribe h3 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0.6rem 0 0.4rem;
}

.subscribe p { font-family: var(--font-serif); font-size: 1.08rem; opacity: 0.85; }

.sub-form {
    display: flex;
    margin-top: 1.4rem;
    border: 1px solid rgba(246, 241, 232, 0.4);
}

.sub-form input {
    flex: 1; min-width: 0;
    padding: 0.9rem 1.1rem;
    background: transparent;
    border: none; outline: none;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--paper);
}

.sub-form input::placeholder { color: rgba(246, 241, 232, 0.5); }

.sub-form button {
    padding: 0.9rem 1.4rem;
    background: var(--paper);
    color: var(--ink);
    border: none;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.sub-form button:hover { background: var(--accent); color: var(--paper); }

.sub-done {
    display: none;
    margin-top: 1.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-soft);
}

.sub-done.show { display: block; }

.cta-story { margin-top: 3rem; text-align: center; }

.cta-story p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin: 0.7rem 0 1.4rem;
}

.cta-pricing {
    margin-top: 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--ink-faint);
}

.cta-pricing a { color: var(--accent); }
