/* ==========================================================================
   EDBooks — the journal
   Extends styles.css. No new tokens, no new fonts, no build step.
   ========================================================================== */

.journal-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.journal-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: .75rem; }
.journal-hero .lede { max-width: 46ch; }

/* --- The card ------------------------------------------------------------
   One card does every job on this site: a title we are working on, a book we
   turned down, an entry in the release calendar. Same frame, different label,
   so the page reads as one shelf rather than three widgets. */
.cards { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); margin: 2rem 0 3rem; padding: 0; list-style: none; }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.card__media { background: var(--paper-warm); border-bottom: 1px solid var(--rule-soft); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: .9rem; mix-blend-mode: multiply; }
.card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.25rem 1.35rem; flex: 1; }
.card__kind { font-family: var(--sans); font-size: .625rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3); }
.card__kind--no { color: var(--rust); }
.card__title { font-size: 1.25rem; line-height: 1.18; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: .25em; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__note { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.card__meta { margin-top: auto; padding-top: .6rem; font-family: var(--sans); font-size: .75rem; color: var(--ink-3); border-top: 1px solid var(--rule-soft); }

/* --- A calendar entry ----------------------------------------------------
   Deliberately says less than it could. Genre and a teaser, never the author
   or the title, because a dated list of titles is a to-do list for anyone
   who fancies doing it first. */
.card--sealed .card__media img { filter: contrast(1.05); }
.card--sealed .card__title { font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .01em; color: var(--ink-2); }
.card__when { display: inline-flex; align-items: baseline; gap: .4rem; font-family: var(--sans); font-size: .8125rem; font-weight: 600; color: var(--green); letter-spacing: .02em; }
.card--locked .card__media { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper-warm) 0 10px, var(--paper-deep) 10px 20px); }
.card--locked .card__media span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }

/* --- An article ---------------------------------------------------------- */
.article { max-width: 38rem; margin-inline: auto; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.article h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin-bottom: .6rem; }
.article__dek { font-size: 1.15rem; line-height: 1.5; color: var(--ink-2); margin-bottom: 1.25rem; }
.article__meta { font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.article p { margin-bottom: 1.15rem; }
.article h2 { font-size: 1.4rem; margin: 2.4rem 0 .8rem; }
.article blockquote { margin: 1.6rem 0; padding-left: 1.2rem; border-left: 2px solid var(--ochre); font-style: italic; color: var(--ink-2); }
.article figure { margin: 2rem 0; }
.article figure img { width: 100%; background: var(--card); border: 1px solid var(--rule); mix-blend-mode: multiply; }
.article figcaption { margin-top: .6rem; font-family: var(--sans); font-size: .8125rem; color: var(--ink-3); line-height: 1.45; }
.article__plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; align-items: end; }
.article__plates img { width: 100%; background: var(--card); border: 1px solid var(--rule); mix-blend-mode: multiply; }

/* --- Sourcing ------------------------------------------------------------
   Every date and name on this site has to come from somewhere a reader can
   check, and where we could not confirm something we say so. These two
   styles are the visible half of that rule. */
.unconfirmed { border-left: 2px solid var(--rust); padding: .9rem 1.1rem; background: color-mix(in srgb, var(--paper-deep) 45%, transparent); font-size: .9375rem; line-height: 1.55; color: var(--ink-2); margin: 1.6rem 0; }
.unconfirmed > strong:first-child { font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); display: block; margin-bottom: .35rem; }
.sources { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: .875rem; }
.sources h2 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .9rem; }
.sources ol { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.sources li { margin-bottom: .55rem; line-height: 1.45; }

/* --- Ask ----------------------------------------------------------------- */
.ask { margin: 2.5rem 0 0; padding: 1.4rem 1.5rem; background: var(--paper-warm); border: 1px solid var(--rule); border-radius: 2px; }
.ask p { margin-bottom: .9rem; font-size: 1rem; }
.ask p:last-child { margin-bottom: 0; }

.crumb { font-family: var(--sans); font-size: .8125rem; padding-top: 1.5rem; }
.crumb a { color: var(--ink-3); }

/* --- A typographic panel, where no artwork exists -------------------------
   Using one book's illustration to stand for another is a small lie, and
   this site cannot afford small lies. Where we hold no artwork for a title,
   the card gets set type instead. Costs nothing, weighs nothing, and is
   honest about having nothing to show. */
.card__media--type { display: grid; place-items: center; background: var(--paper-warm); padding: 1.25rem; }
.typeplate { width: 100%; max-width: 15rem; text-align: center; font-family: var(--serif); color: var(--ink-2); }
.typeplate__rule { height: 1px; background: var(--ink-3); opacity: .5; margin: .55rem 0; }
.typeplate__rule--thick { height: 3px; opacity: .85; }
.typeplate__sm { font-family: var(--sans); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.typeplate__lg { font-size: 1.32rem; line-height: 1.16; letter-spacing: -.01em; margin: .35rem 0; }
.typeplate__yr { font-family: var(--sans); font-size: .72rem; letter-spacing: .3em; color: var(--ink-3); }

/* The censor's stamp. The stars are the ones Scope printed over nipples to
   stay inside the law; the stamp is the banning that kept happening anyway. */
.stamp { transform: rotate(-7deg); border: 3px double var(--rust); color: var(--rust); padding: .6rem 1.1rem; font-family: var(--sans); font-weight: 700; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; opacity: .82; }
.stars { margin-top: .9rem; font-size: 1.5rem; letter-spacing: .5rem; color: var(--ink); opacity: .75; line-height: 1; }
