/* ==========================================================================
   Clasher Writes: "Pomegranate" theme
   Palette drawn from the madder reds, saffrons, lapis and raw linen of
   Parajanov's The Color of Pomegranates: flat, frontal tableaux, ornament,
   and a slow cinematic rhythm. Plain CSS (no Sass), served as-is.
   ========================================================================== */

:root {
  /* Pomegranate palette */
  --ink:        #14060a;   /* deepest night, the theatre before the reel */
  --night:      #1f0910;
  --garnet:     #3d0b16;
  --pomegranate:#8c1a2c;   /* the fruit */
  --seed:       #c3283f;   /* the aril, the brightest red */
  --madder:     #a8432c;   /* dyed wool */
  --saffron:    #d9a54a;   /* gilded manuscript */
  --saffron-lt: #ecc77d;
  --lapis:      #2c3a6b;   /* manuscript blue, used sparingly */
  --leaf:       #185c4b;   /* pomegranate leaf, from the logo */
  --linen:      #f3e8d3;   /* raw linen / parchment */
  --vellum:     #faf4e8;
  --text:       #2a1714;   /* ink on parchment */
  --text-soft:  #5e4640;
  --on-dark:    #efe2cc;
  --on-dark-soft:#bfa996;

  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Crimson Pro", "Iowan Old Style", Georgia, serif;

  --wrap: 72rem;
  --measure: 38rem;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: clip; }
a { color: var(--saffron-lt); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--saffron); color: var(--ink); padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--saffron);
  margin: 0 0 .75rem;
}

/* Film grain over everything: an SVG noise texture, very faint */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); }
  60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block; padding: .8rem 1.6rem; border: 1px solid var(--seed); background: var(--seed);
  color: #fff; font-family: var(--body); font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); transition: background .3s, border-color .3s, color .3s;
}
.button:hover { background: var(--pomegranate); border-color: var(--pomegranate); color: #fff; }
.button--ghost { background: transparent; border-color: var(--saffron); color: var(--saffron-lt); }
.button--ghost:hover { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }

/* ---------- Ornament ---------- */
.ornament { display: flex; align-items: center; gap: 1rem; color: var(--saffron); margin: 2.5rem auto; max-width: 24rem; }
.ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, currentColor, transparent); }
.ornament__mark { width: 2rem; height: 2rem; }

/* ---------- Reading progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pomegranate), var(--seed), var(--saffron)); transform-origin: 0 50%; transform: scaleX(0); }
body:not(.is-post) .progress { display: none; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; transition: background .4s, box-shadow .4s; }
.masthead.is-solid, .masthead:focus-within { background: rgba(20, 6, 10, .94); box-shadow: 0 1px 0 rgba(217, 165, 74, .25); backdrop-filter: blur(6px); }
.masthead__inner { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 2rem; height: 2rem; color: var(--seed); }
.brand__name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; }
.nav__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.nav__list a { color: var(--on-dark); text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--saffron-lt); border-bottom-color: var(--saffron); }
.nav__list .nav__cta { border: 1px solid var(--seed); padding: .45rem .9rem; color: #fff; background: var(--pomegranate); }
.nav__list .nav__cta:hover { background: var(--seed); border-bottom-color: var(--seed); color: #fff; }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--on-dark); }
.nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 1.5rem; height: 2px; background: currentColor; position: relative; transition: transform .3s; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; } .nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 52rem) {
  .js .nav__toggle { display: block; }
  .masthead { background: rgba(20, 6, 10, .94); }
  .js .nav__list { display: none; }
  .js .nav__list.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.5rem; background: var(--ink); border-bottom: 1px solid rgba(217,165,74,.3); }
  .js .nav__list.is-open a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(239,226,204,.08); }
  .js .nav__list.is-open .nav__cta { margin-top: 1rem; text-align: center; }
  .no-js .nav__list { gap: .25rem 1rem; }
}

/* ---------- Home: title sequence ---------- */
.is-home .masthead:not(.is-solid) { background: transparent; }
.opening {
  position: relative; margin-top: -4.25rem; padding: 7rem 0 4rem; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(195, 40, 63, .35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(44, 58, 107, .35), transparent 50%),
    linear-gradient(180deg, var(--garnet), var(--ink) 85%);
}
/* letterbox bars, as if projected at 2.39:1 */
.opening::before, .opening::after { content: ""; position: absolute; left: 0; right: 0; height: 2.2rem; background: #000; z-index: 2; }
.opening::before { top: 0; } .opening::after { bottom: 0; }
.opening__letterbox { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.opening__kicker { animation: fadeUp 1.4s var(--ease) .2s both; }
.opening__title {
  font-size: clamp(3.4rem, 9vw, 7.5rem); font-weight: 600; line-height: .92; letter-spacing: -.01em; margin: 0 0 1.5rem;
  color: var(--linen); animation: fadeUp 1.6s var(--ease) .4s both;
}
.opening__title em { display: block; font-style: italic; color: var(--seed); padding-left: .6em; }
.opening__lede { font-size: 1.3rem; max-width: 30rem; color: var(--on-dark-soft); animation: fadeUp 1.6s var(--ease) .7s both; }
.opening__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; animation: fadeUp 1.6s var(--ease) .9s both; }
.opening__still { display: block; text-decoration: none; color: var(--on-dark); animation: fadeIn 2.4s var(--ease) .6s both; }
.opening__still figure {
  margin: 0; position: relative; padding: .9rem; background: var(--garnet);
  border: 1px solid rgba(217,165,74,.55); outline: 1px solid rgba(217,165,74,.25); outline-offset: 6px;
  box-shadow: 0 40px 80px -30px #000;
}
.opening__still img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.25) saturate(1.15) contrast(1.05); animation: kenburns 24s ease-in-out infinite alternate; }
.opening__still figure > img { transform-origin: 60% 40%; }
.opening__still figure { overflow: hidden; }
.opening__still figcaption { position: absolute; left: .9rem; right: .9rem; bottom: .9rem; padding: 5rem 1.25rem 1.2rem; background: linear-gradient(rgba(20,6,10,0), rgba(20,6,10,.9) 45%, rgba(20,6,10,.98)); }
.opening__still-title { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1.15; }
.opening__still:hover .opening__still-title { color: var(--saffron-lt); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (max-width: 52rem) {
  .opening { padding: 6rem 0 3.5rem; }
  .opening__letterbox { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .opening::before, .opening::after { height: 1rem; }
}

/* ---------- Tableaux (home sections) ---------- */
.tableau { padding: 5rem 0 2rem; }
.tableau__head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.tableau__title { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--linen); }
.tableau__blurb { color: var(--on-dark-soft); font-size: 1.15rem; }
.tableau__more { text-align: center; margin-top: 2.5rem; }
.tableau__more a { font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.tableau--dark { margin-top: 4rem; padding: 5rem 0; background: linear-gradient(180deg, var(--night), var(--garnet)); border-block: 1px solid rgba(217,165,74,.2); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 2rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.grid--feature { grid-template-columns: repeat(3, 1fr); }
.grid--feature .card--wide { grid-column: 1 / -1; }
.grid--covers { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 2.5rem 2rem; }
.grid__full { grid-column: 1 / -1; }
@media (max-width: 52rem) { .grid--feature { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--night); border: 1px solid rgba(217,165,74,.16); border-radius: var(--radius); transition: border-color .4s, transform .6s var(--ease); }
.card:hover { border-color: rgba(217,165,74,.6); transform: translateY(-4px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__frame { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--garnet); }
.card__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: sepia(.2) saturate(1.1); transition: transform 1.2s var(--ease), filter .8s; }
.card:hover .card__frame img { transform: scale(1.05); filter: none; }
.card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.7rem; color: var(--linen); margin-bottom: .6rem; }
.card:hover .card__title { color: var(--saffron-lt); }
.card__excerpt { color: var(--on-dark-soft); font-size: 1.05rem; }
.card__meta { margin: auto 0 0; padding-top: .75rem; font-size: .82rem; letter-spacing: .08em; color: var(--on-dark-soft); }
.card--wide .card__link { display: grid; grid-template-columns: 1.3fr 1fr; }
.card--wide .card__frame { aspect-ratio: auto; min-height: 22rem; }
.card--wide .card__body { padding: 2.5rem; justify-content: center; }
.card--wide .card__title { font-size: clamp(2rem, 4vw, 2.8rem); }
@media (max-width: 52rem) { .card--wide .card__link { grid-template-columns: 1fr; } .card--wide .card__frame { min-height: 14rem; } }

.book a { color: inherit; text-decoration: none; display: block; }
.book__cover { margin: 0 0 1rem; aspect-ratio: 2 / 3; overflow: hidden; box-shadow: 0 25px 50px -20px #000, 0 0 0 1px rgba(217,165,74,.3); transition: transform .7s var(--ease), box-shadow .7s; }
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book a:hover .book__cover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 35px 60px -20px #000, 0 0 0 1px var(--saffron); }
.book .kicker { font-size: .7rem; margin-bottom: .3rem; }
.book__title { font-size: 1.45rem; color: var(--linen); }
.book a:hover .book__title { color: var(--saffron-lt); }

/* reveal-on-scroll */
.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* empty state */
.empty { text-align: center; max-width: 36rem; margin: 0 auto; padding: 3rem 2rem; border: 1px solid rgba(217,165,74,.3); outline: 1px solid rgba(217,165,74,.12); outline-offset: 8px; background: radial-gradient(circle at 50% 0, rgba(195,40,63,.18), transparent 70%); }
.empty__mark { width: 3.5rem; height: 3.5rem; color: var(--seed); margin: 0 auto 1rem; display: block; }
.empty h2, .empty h3 { font-size: 2rem; color: var(--linen); }
.empty p:not(.kicker) { color: var(--on-dark-soft); }

/* author strip */
.author-strip { display: grid; grid-template-columns: 10rem 1fr; gap: 2.5rem; align-items: center; max-width: 52rem; padding: 5rem 0; }
.author-strip img { width: 10rem; height: 10rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--saffron), 0 0 0 7px var(--ink), 0 0 0 8px rgba(217,165,74,.4); }
.author-strip h2 { font-size: 2.4rem; color: var(--linen); }
.author-strip p:not(.kicker) { color: var(--on-dark-soft); }
@media (max-width: 40rem) { .author-strip { grid-template-columns: 1fr; text-align: center; } .author-strip img { margin: 0 auto; } }

/* ---------- Section pages ---------- */
.section-head { text-align: center; padding: 5rem 0 1rem; max-width: 44rem; }
.section-head__title { font-size: clamp(2.8rem, 7vw, 4.6rem); color: var(--linen); }
.section-head__blurb { color: var(--on-dark-soft); font-size: 1.25rem; }
.is-section main > .wrap { padding-bottom: 4rem; }

/* ---------- Article: the title card ---------- */
.title-card { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; text-align: center; background: linear-gradient(180deg, var(--garnet), var(--ink)); }
.title-card__bg { position: absolute; inset: -2rem; background-size: cover; background-position: center 30%; filter: blur(18px) saturate(1.3) brightness(.45); transform: scale(1.1); }
.title-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(20,6,10,.85) 100%); }
.title-card__inner { position: relative; z-index: 1; max-width: 50rem; }
.title-card__title { font-size: clamp(2.6rem, 6.5vw, 4.8rem); color: var(--vellum); text-wrap: balance; animation: fadeUp 1.4s var(--ease) both; }
.title-card__sub { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--on-dark-soft); }
.title-card__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem .9rem; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin: 0; }
.title-card__meta span[aria-hidden] { color: var(--seed); }
.title-card__note { margin: 1.5rem auto 0; max-width: 30rem; font-size: .95rem; color: var(--on-dark-soft); }
.title-card--plain { padding-bottom: 3rem; }

.crumbs ol { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 2rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.crumbs li { color: var(--on-dark-soft); max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs li + li::before { content: "\2766"; margin-right: .4rem; color: var(--seed); }
.crumbs a { color: var(--on-dark-soft); text-decoration: none; }
.crumbs a:hover { color: var(--saffron-lt); }

/* ---------- Article: the page (parchment) ---------- */
.page {
  position: relative; width: min(100% - 1.5rem, 50rem); margin: -1.5rem auto 0; z-index: 2;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 5.5rem) 3rem;
  background: var(--vellum); color: var(--text);
  box-shadow: 0 40px 90px -40px #000, inset 0 0 120px rgba(168, 67, 44, .08);
  border-top: 3px solid var(--seed);
}
.page a { color: var(--pomegranate); }
.page a:hover { color: var(--seed); }

.hero-still { margin: 0 0 2.5rem; }
.hero-still img { width: 100%; max-height: 28rem; object-fit: cover; filter: sepia(.15); }

.cover { float: right; width: min(42%, 16rem); margin: .3rem 0 1.5rem 2rem; text-align: center; }
.cover img { box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); margin-bottom: 1rem; }
.cover .button { font-size: .72rem; padding: .7rem 1rem; color: #fff; }
@media (max-width: 36rem) { .cover { float: none; width: 70%; margin: 0 auto 2rem; } }

.prose { font-size: 1.24rem; line-height: 1.72; max-width: var(--measure); margin-inline: auto; hyphens: auto; }
.prose > * { max-width: 100%; }
.prose h2 { font-size: 2rem; margin: 2.4rem 0 1rem; color: var(--garnet); }
.prose h3 { font-size: 1.55rem; margin: 2rem 0 .75rem; color: var(--garnet); }
.prose h2 a, .prose h3 a { text-decoration: none; }
.prose > p:first-of-type::first-letter, .prose > h2:first-child + p::first-letter {
  float: left; font-family: var(--display); font-weight: 700; font-size: 4.6em; line-height: .8;
  padding: .08em .1em 0 0; color: var(--seed);
}
.prose blockquote { margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--seed); font-style: italic; color: var(--text-soft); }
.prose img { margin: 2rem auto; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose hr { border: 0; text-align: center; margin: 2.5rem 0; }
.prose hr::after { content: "\2766  \2766  \2766"; color: var(--seed); letter-spacing: .6em; }
.prose code { font-size: .85em; background: var(--linen); padding: .1em .3em; }
.prose em { color: inherit; }
.fin { text-align: center; font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--seed); margin: 3rem 0 0; }
.fin::before, .fin::after { content: "\2014"; margin: 0 .6rem; color: var(--saffron); }

.series { clear: both; margin: 3rem auto 0; max-width: var(--measure); padding: 1.5rem 1.75rem; background: var(--linen); border-left: 3px solid var(--saffron); }
.series .kicker { color: var(--madder); font-size: .78rem; }
.series ol { margin: 0; padding-left: 1.2rem; }
.series li[aria-current] a { font-weight: 600; color: var(--text); text-decoration: none; }
.series li span { color: var(--text-soft); font-size: .9em; }

.reading__foot { clear: both; max-width: var(--measure); margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(42,23,20,.15); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.tags a { display: inline-block; padding: .25rem .75rem; border: 1px solid rgba(140,26,44,.35); font-size: .8rem; letter-spacing: .06em; text-decoration: none; border-radius: 99px; }
.tags a:hover { background: var(--pomegranate); color: #fff; border-color: var(--pomegranate); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .85rem; margin-bottom: 2rem; }
.share span { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); font-size: .75rem; }
.byline { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--linen); }
.byline__mark { width: 2.6rem; height: 2.6rem; color: var(--seed); flex: none; }
.byline p { margin: 0; font-size: 1rem; color: var(--text-soft); }
.byline .byline__name { font-family: var(--display); font-size: 1.4rem; font-weight: 700; }

.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 50rem; margin: 3rem auto 0; }
.prevnext a { display: block; padding: 1.25rem 1.5rem; border: 1px solid rgba(217,165,74,.2); text-decoration: none; color: var(--linen); font-family: var(--display); font-size: 1.35rem; line-height: 1.2; }
.prevnext a:hover { border-color: var(--saffron); color: var(--saffron-lt); }
.prevnext .kicker { display: block; font-size: .7rem; margin-bottom: .4rem; }
.prevnext__next { grid-column: 2; text-align: right; }
@media (max-width: 40rem) { .prevnext { grid-template-columns: 1fr; } .prevnext__next { grid-column: 1; } }

.related { padding: 5rem 0 3rem; }
.related > .kicker, .related__title { text-align: center; }
.related__title { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--linen); margin-bottom: 2.5rem; }

/* Plain pages (about, archive, privacy) */
.reading--page .page { margin-bottom: 4rem; }
.reading--page .prose > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; }
.archive__year h2 { font-size: 2.4rem; color: var(--seed); border-bottom: 1px solid rgba(42,23,20,.15); padding-bottom: .3rem; }
.archive ul, .tag-group ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.archive li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .55rem 0; border-bottom: 1px dotted rgba(42,23,20,.2); }
.archive li span { font-size: .85rem; color: var(--text-soft); }
.tag-cloud { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 !important; margin-bottom: 3rem; }
.tag-cloud a { display: inline-block; padding: .3rem .8rem; border: 1px solid rgba(140,26,44,.35); border-radius: 99px; text-decoration: none; font-size: .95rem; }
.tag-cloud span { color: var(--text-soft); font-size: .8em; }
.tag-group { scroll-margin-top: 6rem; }
.tag-group h2 { text-transform: capitalize; font-size: 1.6rem !important; }
.tag-group li { padding: .25rem 0; }

/* Search */
.search input { width: 100%; padding: 1rem 1.25rem; font: inherit; font-size: 1.25rem; border: 1px solid rgba(42,23,20,.3); background: #fff; color: var(--text); border-radius: var(--radius); }
.search input:focus { outline: 2px solid var(--seed); border-color: transparent; }
.search-results { list-style: none; padding: 0 !important; margin-top: 2rem; }
.search-results li { border-bottom: 1px solid rgba(42,23,20,.12); }
.search-results a { display: block; padding: 1rem 0; text-decoration: none; color: var(--text); }
.search-results a:hover strong { color: var(--seed); }
.search-results .kicker { color: var(--madder); font-size: .7rem; margin-bottom: .2rem; display: block; }
.search-results strong { display: block; font-family: var(--display); font-size: 1.5rem; }
.search-results span:last-child { color: var(--text-soft); font-size: 1rem; }

/* ---------- Ads ---------- */
/* Ad slots stay collapsed and unlabelled until AdSense actually fills them. */
.ad { margin: 0 auto; max-width: 50rem; text-align: center; }
.ad__label { display: none; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--on-dark-soft); opacity: .7; margin-bottom: .4rem; }
.ad:has(ins[data-ad-status="filled"]), .ad--preview { margin: 3rem auto; }
.ad:has(ins[data-ad-status="filled"]) .ad__label, .ad--preview .ad__label { display: block; }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.page .ad__label { color: var(--text-soft); }
.ad__placeholder { display: grid; place-items: center; min-height: 100px; border: 1px dashed rgba(217,165,74,.4); color: var(--on-dark-soft); font-size: .8rem; letter-spacing: .1em; }
.page .ad__placeholder { border-color: rgba(42,23,20,.25); color: var(--text-soft); }
.prose .ad:has(ins[data-ad-status="filled"]) { margin: 2.5rem 0; }

/* ---------- Newsletter ---------- */
.letter { position: relative; padding: 5.5rem 1.25rem; text-align: center; overflow: hidden; scroll-margin-top: 4rem;
  background:
    radial-gradient(circle at 50% 120%, rgba(195,40,63,.55), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--garnet));
  border-top: 1px solid rgba(217,165,74,.25);
}
.letter__inner { max-width: 36rem; margin: 0 auto; position: relative; }
.letter__mark { width: 3.5rem; height: 3.5rem; color: var(--seed); margin: 0 auto 1.25rem; display: block; }
.letter__title { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--linen); }
.letter__pitch { color: var(--on-dark-soft); font-size: 1.15rem; }
.letter__form { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.letter__form input { flex: 1 1 16rem; min-width: 0; padding: .9rem 1.1rem; font: inherit; font-size: 1.1rem; color: var(--on-dark); background: rgba(20,6,10,.6); border: 1px solid rgba(217,165,74,.5); border-radius: var(--radius); }
.letter__form input::placeholder { color: var(--on-dark-soft); }
.letter__form input:focus { outline: 2px solid var(--saffron); border-color: transparent; }
.letter__form button { padding: .9rem 1.8rem; font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--saffron); border: 0; border-radius: var(--radius); cursor: pointer; transition: background .3s; }
.letter__form button:hover { background: var(--saffron-lt); }
.letter__status { flex-basis: 100%; margin: .5rem 0 0; min-height: 1.5em; color: var(--saffron-lt); font-style: italic; }

/* ---------- Footer ---------- */
.colophon { background: var(--ink); padding: 2rem 0 3rem; color: var(--on-dark-soft); font-size: 1rem; }
.colophon__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.colophon__title { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--linen); margin-bottom: .4rem; }
.colophon__head { font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--saffron); }
.colophon ul { list-style: none; padding: 0; margin: 0; }
.colophon li { margin-bottom: .35rem; }
.colophon a { color: var(--on-dark); text-decoration: none; }
.colophon a:hover { color: var(--saffron-lt); }
.colophon__fine { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(239,226,204,.1); font-size: .85rem; }
@media (max-width: 44rem) { .colophon__grid { grid-template-columns: 1fr 1fr; } .colophon__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Print: just the story ---------- */
@media print {
  .masthead, .progress, .grain, .letter, .colophon, .ad, .related, .prevnext, .share, .crumbs { display: none !important; }
  body, .page { background: #fff; color: #000; box-shadow: none; }
  .title-card { background: none; color: #000; padding: 0; } .title-card__title { color: #000; }
}

/* ---------- Start Here: reading order ---------- */
.reading-order { list-style: none; counter-reset: ro; padding: 0; margin: 0 auto; max-width: 52rem; display: grid; gap: 1rem; }
.reading-order li { counter-increment: ro; }
.reading-order li.is-companion { counter-increment: none; }
.reading-order li.is-companion a::before { content: "\2766"; font-size: 1.8rem; color: var(--saffron); }
.reading-order a { display: grid; grid-template-columns: 3rem 6.5rem 1fr; gap: 1.5rem; align-items: center; padding: 1.25rem 1.5rem; background: var(--night); border: 1px solid rgba(217,165,74,.16); color: inherit; text-decoration: none; transition: border-color .4s, transform .6s var(--ease); }
.reading-order a::before { content: counter(ro, upper-roman); font-family: var(--display); font-size: 2.2rem; font-weight: 600; color: var(--seed); text-align: center; }
.reading-order a:hover { border-color: rgba(217,165,74,.6); transform: translateX(4px); }
.reading-order img { width: 6.5rem; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 15px 30px -12px #000, 0 0 0 1px rgba(217,165,74,.3); }
.reading-order .kicker { display: block; font-size: .7rem; margin-bottom: .25rem; }
.reading-order strong { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 600; line-height: 1.1; color: var(--linen); margin-bottom: .4rem; }
.reading-order a:hover strong { color: var(--saffron-lt); }
.reading-order__blurb { display: block; color: var(--on-dark-soft); font-size: 1.02rem; }
@media (max-width: 40rem) {
  .reading-order a { grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1rem; }
  .reading-order a::before { display: none; }
  .reading-order img { width: 5rem; }
  .reading-order strong { font-size: 1.45rem; }
}
