/* society.css — onevoltperoctave.com site register
   The lace-and-fringe identity, dialed DOWN for long-form reading.
   Essays are the art: palette + type + restrained dividers carry the
   register; the prose is left to breathe. No gold blooms, no forms —
   those stay on the Society Papers. Shares tokens with the invitation
   stylesheet, so the site and the salon paper feel like one hand.

   Per-page reskin = swap the <head> to link this file. Nothing else. */

:root {
    /* palette — cream & ink, one wax-seal red, gilt hairline-only */
    --paper: #f4efe2;
    --paper-lift: #faf6ec;
    --ink: #2b2622;
    --ink-soft: #5c534a;
    --wax: #842029;
    --wax-deep: #6a1a21;
    --gold: #a8884a;
    --rule: #cdbfa3;

    /* type — system serifs, no web fonts (durable / offline) */
    --display: "Hoefler Text", "Baskerville", "Palatino Linotype", Palatino,
        "Iowan Old Style", Georgia, serif;
    --body: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino,
        "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: radial-gradient(120% 70% at 50% -8%, var(--paper-lift), var(--paper) 55%)
        fixed;
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.7;
}

main {
    max-width: 50rem;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 1.2rem 4rem;
}

/* ---- headings ---- */
h1 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.9rem, 5vw, 2.5rem);
    line-height: 1.15;
    text-align: center;
    color: var(--wax);
    margin: 0 0 0.5rem;
    text-wrap: balance;
}
h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--wax);
    margin: 2.4rem 0 0.8rem;
    text-wrap: balance;
}

/* the subtitle (em or h4 directly after the h1) */
h1 + em,
h1 + h4 {
    display: block;
    text-align: center;
    font-style: italic;
    font-weight: 400;
    font-family: var(--body);
    color: var(--ink-soft);
    font-size: 1.12rem;
    margin: 0 0 1.6rem;
}

/* callout / aside blocks */
blockquote {
    margin: 1.7rem 0;
    padding: 0.6rem 1.3rem 0.2rem;
    border-left: 2px solid var(--rule);
    background: rgba(168, 136, 74, 0.05);
}
blockquote > :first-child {
    margin-top: 0;
}

/* ---- body ---- */
p,
li {
    text-wrap: pretty;
}
p {
    margin: 0 0 1rem;
}
ul,
ol {
    padding-left: 1.7rem;
    margin: 0 0 1.3rem;
}
li {
    margin: 0 0 0.5rem;
}
strong,
b {
    color: var(--ink);
}

/* optional lead drop cap — add class="lead" to a paragraph */
p.lead::first-letter {
    float: left;
    font-family: var(--display);
    color: var(--wax);
    font-weight: 600;
    font-size: 3.4rem;
    line-height: 0.78;
    padding: 0.16rem 0.12em 0 0;
}

/* ---- links ---- */
a {
    color: var(--wax);
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
a:hover {
    color: var(--wax-deep);
}

/* ---- divider: a single restrained fleuron (least lace) ---- */
hr {
    border: 0;
    height: auto;
    margin: 2.3rem 0;
    text-align: center;
    overflow: visible;
}
hr::after {
    content: "\2766"; /* ❦ */
    color: var(--wax);
    font-family: var(--display);
    font-size: 1.05rem;
}

/* ---- gold fleurs that bookend the page (top down, bottom up) ---- */
.fleur-top {
    text-align: center;
    margin: 0.2rem 0 1.4rem;
}
.fleur-top img {
    width: clamp(170px, 36%, 240px);
    height: auto;
}
.fleur-bottom {
    text-align: center;
    margin: 2.4rem 0 1.4rem;
}
.fleur-bottom img {
    width: clamp(150px, 30%, 215px);
    height: auto;
}

/* ---- small print / colophon (CC line, last-updated) ---- */
.colophon {
    color: var(--ink-soft);
    font-size: 0.9rem;
}
