/* mirror.css — the Mirror page-funnel, layered on society.css
   Society register, made *clickable*: the long-form stylesheet leaves the
   prose to breathe; this adds the door-cards, the two mirrors, and the
   blessed-exit affordances. Same tokens (cream & ink, one wax-red), so the
   funnel feels like one hand with the essays. Link society.css FIRST, then
   this. Durable/offline: no web fonts, no build, no backend. */

/* ---- the doorman's question sits a touch larger, still centered ---- */
.prompt {
    text-align: center;
    text-wrap: balance;
}

/* ---- the two-column spread: a flight of fancy at left, its plain-truth
   gloss in the margin at right. Illuminated text + marginalia, which is the
   society register's native shape. ---- */
main.wide {
    max-width: 62rem;
}
.spread {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: clamp(1.6rem, 4vw, 3.2rem);
    align-items: start;
    margin: 1.8rem 0 0.5rem;
}
.fancy > :first-child,
.plain > :first-child {
    margin-top: 0;
}

/* left column — the art. verse runs italic; prose can take a drop cap (.lead) */
.fancy .verse {
    font-style: italic;
    color: var(--ink);
    line-height: 1.55;
    margin: 0 0 1.2rem;
}
.fancy .aside {
    color: var(--ink-soft);
    font-size: 0.96rem;
}

/* right column — the plain truth. quieter, smaller, gently stepped */
.plain {
    border-left: 1px solid var(--rule);
    padding-left: clamp(1.6rem, 4vw, 3.2rem);
    font-size: 0.98rem;
}
.gloss-label {
    font-variant: small-caps;
    letter-spacing: 0.07em;
    color: var(--gold);
    font-style: italic;
    font-size: 0.92rem;
    margin: 0 0 0.9rem;
}
.plain ol {
    padding-left: 1.4rem;
}
.plain ol li {
    margin-bottom: 0.6rem;
}
.plain .go {
    text-align: left;
    font-size: 1.2rem;
    margin: 1.3rem 0 0;
}

/* on a phone the gutter folds: art first, then the plain truth beneath it */
@media (max-width: 640px) {
    main.wide {
        max-width: 50rem;
    }
    .spread {
        grid-template-columns: 1fr;
    }
    .plain {
        border-left: 0;
        border-top: 1px solid var(--rule);
        padding-left: 0;
        padding-top: 1.5rem;
        margin-top: 0.4rem;
    }
}

/* ---- the doors: a small menu of calling-cards ---- */
.choices {
    list-style: none;
    padding: 0;
    margin: 2.2rem auto 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 34rem;
}
.choices a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    background: var(--paper-lift);
    border: 1px solid var(--rule);
    border-radius: 2px;
    padding: 1rem 1.25rem;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.choices a:hover,
.choices a:focus-visible {
    border-color: var(--wax);
    background: #fffdf7;
    outline: none;
}
.choices .door {
    display: block;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--wax);
    line-height: 1.2;
}
.choices a:hover .door,
.choices a:focus-visible .door {
    color: var(--wax-deep);
}
.choices .door-sub {
    display: block;
    font-style: italic;
    font-size: 0.98rem;
    color: var(--ink-soft);
    margin-top: 0.25rem;
}

/* ---- the exit: the blessing to leave ---- */
.go {
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--wax);
    text-align: center;
    text-wrap: balance;
    margin: 1.8rem 0 0.6rem;
}

/* ---- the two mirrors: your words, handed back ---- */
.mirror {
    margin: 1.9rem 0;
    padding: 0.9rem 1.3rem;
    border-left: 2px solid var(--gold);
    background: rgba(168, 136, 74, 0.06);
    font-size: 1.02rem;
}
.mirror p {
    margin: 0 0 0.4rem;
}
.mirror p:last-child {
    margin-bottom: 0;
}
.mirror .said {
    color: var(--ink-soft);
}
.mirror strong {
    color: var(--wax);
}
.mirror.empty {
    display: none;
}

/* the greeting line on the doorman page (time-mirror), hidden until earned */
.greeting {
    text-align: center;
    font-style: italic;
    color: var(--ink-soft);
    margin: -0.6rem 0 1.4rem;
}
.greeting:empty {
    display: none;
}

/* ---- opt-in memory: a wink, not a banner ---- */
.remember {
    margin: 2rem auto 0;
    max-width: 34rem;
    padding: 0.9rem 1.1rem;
    border: 1px dashed var(--rule);
    border-radius: 2px;
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-align: center;
}
.remember label {
    cursor: pointer;
}
.remember input {
    margin-right: 0.4rem;
    vertical-align: middle;
}
.remember .forget {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* ---- terminal flourish: you've reached your stop. nothing to click — the
   piece is finished, so we say so instead of pointing an arrow at a wall. ---- */
.fin {
    text-align: center;
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--wax);
    margin: 2.6rem 0 1.4rem;
}
.fin::before {
    content: "\2766\00a0\00a0"; /* ❦ */
    color: var(--gold);
    font-style: normal;
}
.fin::after {
    content: "\00a0\00a0\2766";
    color: var(--gold);
    font-style: normal;
}

/* ---- homepage art: the synth reflected in the mirror ----
   Until the real image is dropped in as synth-mirror.png, an inline onerror
   handler tags the figure .placeholder and a tasteful dashed panel stands in,
   so the layout reads as finished. ---- */
.mirror-art {
    margin: 1.4rem 0;
}
.mirror-art img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 2px;
}
.mirror-art.placeholder::before {
    content: "a synth keyboard, reflected — image to come";
    display: block;
    padding: 2.6rem 1rem;
    border: 1px dashed var(--rule);
    border-radius: 2px;
    color: var(--ink-soft);
    font-style: italic;
    font-size: 0.92rem;
    text-align: center;
}
.mirror-link {
    text-decoration: none;
}

/* ---- doorman: the plain "what is this?" note ---- */
.about {
    max-width: 38rem;
    margin: 1.6rem auto 0.6rem;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.98rem;
}
.about p {
    margin: 0;
}
.about .about-h {
    display: block;
    font-variant: small-caps;
    letter-spacing: 0.07em;
    color: var(--gold);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

/* ---- quiet wayfinding (start again / back a step) ---- */
.wayfind {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 2.2rem;
}
.wayfind a {
    color: var(--ink-soft);
}
.wayfind a:hover {
    color: var(--wax);
}
