/* Helios Cascade — helioscascade.com
   Palette and type are taken from the cover kit so the site and the books
   read as one object. Visual pass 2026-09-18: the series mark now bleeds
   into the page behind the jacket, sections sit on an editorial grid, and
   the amber is used as light rather than as fill. */

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/SourceSerif4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/SourceSerif4-Italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/fonts/Cinzel-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-SemiBold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep:   #05070d;
  --mid:    #1b2438;
  --ink:    #f2ece2;
  --accent: #ffb347;
  --accent-soft: rgba(255, 179, 71, 0.55);
  --accent-glow: rgba(255, 179, 71, 0.22);

  --ink-dim:  rgba(242, 236, 226, 0.66);
  --ink-faint:rgba(242, 236, 226, 0.42);
  --rule:     rgba(242, 236, 226, 0.12);
  --rule-amber: rgba(255, 179, 71, 0.28);

  --display: "Cinzel", "Iowan Old Style", Georgia, serif;
  --ui: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --measure: 34rem;
  --labelcol: 10rem;
  --gutter: 1.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* A slow amber wash from the top, echoing the cover art, plus a faint
   film grain so the flat black reads as a surface. Both sit behind the
   page (z-index -1), so type and jackets stay crisp. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 70% at 50% -20%, rgba(255, 179, 71, 0.14), transparent 62%),
    radial-gradient(60% 40% at 100% 100%, rgba(27, 36, 56, 0.9), transparent 70%),
    linear-gradient(180deg, var(--mid) 0%, var(--deep) 55%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

::selection { background: rgba(255, 179, 71, 0.35); color: var(--ink); }

.wrap {
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: absolute; left: 1rem; top: 1rem; z-index: 10;
  background: var(--accent); color: var(--deep);
  padding: 0.6rem 1rem; font-family: var(--ui); border-radius: 2px;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- ornaments ---------- */

/* The ring from the jacket, small. Used in the header, the footer and as
   the scene break in the sample chapter. */
.ring {
  display: inline-block;
  width: 0.7em; height: 0.7em;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px 1px var(--accent-glow), inset 0 0 6px rgba(255, 179, 71, 0.35);
  vertical-align: middle;
  flex: none;
}

/* Full-size series artwork bled into a section. The section positions it. */
.markart {
  position: absolute;
  max-width: none;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 72%);
          mask-image: radial-gradient(closest-side, #000 25%, transparent 72%);
}

/* ---------- header ---------- */

.siteheader {
  border-bottom: 1px solid var(--rule);
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 5;
}
.headerinner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.wordmark .ring { width: 0.9em; height: 0.9em; transition: box-shadow 0.3s var(--ease); }
.wordmark:hover { color: var(--accent); }
.wordmark:hover .ring { box-shadow: 0 0 16px 3px var(--accent-glow), inset 0 0 6px rgba(255, 179, 71, 0.5); }
.siteheader nav { display: flex; gap: 1.75rem; }
.siteheader nav a {
  position: relative;
  font-family: var(--ui);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 0.3rem 0;
}
.siteheader nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.siteheader nav a:hover { color: var(--ink); }
.siteheader nav a:hover::after,
.siteheader nav a[aria-current="page"]::after { transform: scaleX(1); }
.siteheader nav a[aria-current="page"] { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
/* The artwork sits inside .herocover, centred on the jacket and sized so the
   ring itself stays hidden behind it: only the branches show. */
.herocover .markart {
  width: 240%;
  aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  z-index: -1;
}
.heroinner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 38rem);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  justify-content: center;
}
.herocover {
  position: relative;
  perspective: 1400px;
}
.herocover::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 72%);
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
}
.herocover picture { transform: rotateY(-5deg); transform-origin: 60% 50%; transition: transform 0.7s var(--ease); }
.herocover:hover picture { transform: rotateY(0) rotateX(0); }
.herocover img {
  width: 100%;
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(242, 236, 226, 0.12),
    0 40px 90px -24px rgba(0, 0, 0, 0.95),
    0 0 60px -10px rgba(255, 179, 71, 0.18);
}

.eyebrow {
  font-family: var(--ui);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}
.herotext h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 0 40px rgba(255, 179, 71, 0.12);
}
.byline {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--ui);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0.9rem 0 0;
}
.byline::before {
  content: "";
  width: 2rem; height: 1px;
  background: var(--accent-soft);
}
.status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--ui);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--rule-amber);
  background: rgba(255, 179, 71, 0.06);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin: 1.3rem 0 0;
}
.status::before {
  content: "";
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.6s ease-in-out infinite;
}
.hook {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: var(--measure);
  margin: 1.5rem 0 0;
}
.prelaunch {
  font-family: var(--ui);
  font-size: 1.05rem;
  color: var(--ink-dim);
  max-width: var(--measure);
  margin: 1.4rem 0 0;
}

.buys { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.8rem 0 0; }
.buy {
  font-family: var(--ui);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}
.buy:hover { background: var(--accent); color: var(--deep); transform: translateY(-1px); }
.buy.primary {
  background: var(--accent); color: var(--deep);
  box-shadow: 0 0 24px -4px rgba(255, 179, 71, 0.45);
}
.buy.primary:hover { background: #ffc46b; color: var(--deep); box-shadow: 0 0 34px -2px rgba(255, 179, 71, 0.6); }
.ku {
  font-family: var(--ui);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin: 0.9rem 0 0;
}

/* ---------- sections: editorial grid ---------- */

.sectionlabel {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--ui);
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.sectionlabel::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--accent-soft);
  flex: none;
}

.story, .series, .details, .prose, .listing, .alsolist {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--rule);
}

/* Label in a narrow left column that stays put while the copy scrolls;
   copy in a measured column to its right. Collapses to one column below
   860px. */
.story .storyinner, .series .seriesinner, .details .detailsinner {
  display: grid;
  grid-template-columns: var(--labelcol) minmax(0, var(--measure));
  column-gap: clamp(2rem, 5vw, 4rem);
  justify-content: center;
}
.story .storyinner > *, .series .seriesinner > *, .details .detailsinner > * { grid-column: 2; }
.story .sectionlabel, .series .sectionlabel, .details .sectionlabel {
  grid-column: 1;
  grid-row: 1 / span 40;
  align-self: start;
  position: sticky; top: 5.5rem;
  margin: 0.35rem 0 0;
}
.storyinner p, .seriesinner p, .proseinner p { margin: 0 0 1.15rem; }
.storyinner > p:last-child, .seriesinner > p:last-child { margin-bottom: 0; }
/* prose pages keep the wrap's left edge so the copy lines up under the h1 */
.proseinner > * { max-width: var(--measure); }

.pull {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
  line-height: 1.35;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin: 2rem 0 0 !important;
  text-wrap: balance;
}

.pagehead { padding: clamp(3rem, 7vw, 5rem) 0 1rem; }
.pagehead h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0;
  letter-spacing: 0.02em;
}
.lede { color: var(--ink-dim); max-width: var(--measure); margin: 1rem 0 0; }

.proseinner h2 {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--ui);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.2rem 0 0.8rem;
}
.proseinner h2::before { content: ""; width: 1.2rem; height: 1px; background: var(--accent-soft); }
.proseinner h2:first-child { margin-top: 0; }

.detailsinner dl { margin: 0; display: grid; gap: 0.75rem; }
.detailsinner dl > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}
.detailsinner dt {
  font-family: var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.detailsinner dd { margin: 0; }

/* ---------- book grid ---------- */

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.card a { text-decoration: none; color: inherit; display: block; }
.card img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.85);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card a:hover img {
  transform: translateY(-5px);
  box-shadow: 0 28px 50px -18px rgba(0, 0, 0, 0.9), 0 0 40px -8px var(--accent-glow);
}
.cardtitle {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  margin-top: 0.9rem;
  line-height: 1.3;
}
.card a:hover .cardtitle { color: var(--accent); }
.cardmeta {
  display: block;
  font-family: var(--ui);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.25rem;
}

/* ---------- signup / follow: a card, not a band ---------- */

.signup {
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
.signupinner {
  position: relative;
  max-width: 48rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.4rem, 4vw, 2.8rem);
  background:
    linear-gradient(135deg, rgba(27, 36, 56, 0.75), rgba(5, 7, 13, 0.6) 70%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.signupinner::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}
.signupinner .markart {
  width: 28rem; aspect-ratio: 1;
  right: -10rem; top: 50%;
  transform: translateY(-50%);
  opacity: 0.32;
}
.signupinner > :not(.markart) { position: relative; z-index: 1; max-width: 32rem; }
.signup h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.signup p { margin: 0 0 1.2rem; color: var(--ink-dim); }
.signup p:last-child { margin-bottom: 0; }

.signupform { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signupform input[type="email"] {
  flex: 1 1 15rem;
  min-width: 0;
  font-family: var(--ui);
  font-size: 1.05rem;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.signupform input[type="email"]::placeholder { color: var(--ink-faint); }
.signupform input[type="email"]:focus { outline: none; border-color: var(--accent); }
.signupform button {
  font-family: var(--ui);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--deep);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.signupform button:hover { background: transparent; color: var(--accent); }

.finelight {
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--ink-faint);
  margin: 1rem 0 0 !important;
}

/* ---------- footer ---------- */

.sitefooter {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
  margin-top: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}
.sitefooter::before {
  content: "";
  position: absolute; left: 50%; top: -1px;
  width: min(40rem, 90%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}
.sitefooter .markart {
  width: 34rem; aspect-ratio: 1;
  right: -9rem; bottom: -13rem;
  opacity: 0.3;
}
.footinner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  align-items: start;
}
.footmark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  font-size: 1rem;
}
.footline {
  font-family: var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}
.sitefooter nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  justify-content: flex-end;
  padding-top: 0.2rem;
}
.sitefooter nav a {
  font-family: var(--ui);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sitefooter nav a:hover { color: var(--accent); }
.copyright {
  grid-column: 1 / -1;
  font-family: var(--ui);
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin: 1.2rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
}

/* ---------- about page ---------- */

.aboutpage {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}
/* artwork centred behind the portrait so the ring hides behind it */
.authorphoto .markart {
  width: 230%; aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.45;
  z-index: -1;
}
.aboutgrid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 32rem);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  justify-content: center;
}

.authorphoto {
  position: relative;
  margin: 0.6rem 0 2.25rem 0.6rem;
}
/* an offset amber frame behind the portrait, like a mounted print */
.authorphoto::before {
  content: "";
  position: absolute;
  inset: -0.6rem 0.6rem 0.6rem -0.6rem;
  border: 1px solid var(--rule-amber);
  border-radius: 2px;
  z-index: -1;
}
.authorphoto img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(242, 236, 226, 0.10),
    0 26px 60px -24px rgba(0, 0, 0, 0.9);
}
.seriesmark { width: 100%; }
.seriesmark img { width: 100%; height: auto; display: block; }

.abouttext h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.4vw, 2.6rem);
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.01em;
}
.abouttext .kicker {
  font-family: var(--ui);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0.6rem 0 1.8rem;
}
.aboutbody p { margin: 0 0 1.15rem; }
.aboutbody > p:first-child {
  font-size: 1.18rem;
  line-height: 1.55;
}

.contactline {
  font-family: var(--ui);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  margin: 2rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
}

/* Where to start: the jacket beside the pitch, as a card. */
.startcard {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  max-width: 44rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(135deg, rgba(27, 36, 56, 0.6), rgba(5, 7, 13, 0.5) 70%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.startcard .card { list-style: none; }
.startcard .card img { box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.9), 0 0 30px -8px var(--accent-glow); }
.startcard .cardtitle { font-size: 1.35rem; margin: 0; }
.startcard .cardmeta { margin: 0.35rem 0 0; }
.startcard .hook { font-size: 1.12rem; margin: 1rem 0 0; }
.startcard .prelaunch { margin: 0.8rem 0 0; font-size: 0.98rem; }
.startcard .moreline { margin: 1.4rem 0 0 !important; }

/* ---------- reading: the free sample ---------- */

.readcol { max-width: 36rem; margin: 0 auto; }

.chapterhead {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 2.5rem;
}
.chapterhead .markart {
  width: clamp(30rem, 70vw, 58rem); aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%, -46%);
  opacity: 0.26;
}
.chapterhead .readcol { position: relative; z-index: 1; text-align: center; }
.chapterhead .eyebrow { justify-content: center; }
.chapterhead h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
.chapterhead .eyebrow a { color: var(--accent); text-decoration: none; }
.chapterhead .eyebrow a:hover { text-decoration: underline; }
.samplenote {
  font-family: var(--ui);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 1rem 0 0;
}
.chapterrule {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 2.2rem auto 0;
  color: var(--accent);
}
.chapterrule::before, .chapterrule::after {
  content: "";
  width: 5rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft));
}
.chapterrule::after { background: linear-gradient(90deg, var(--accent-soft), transparent); }

.reading { padding: clamp(1rem, 3vw, 1.5rem) 0 clamp(2.5rem, 6vw, 4rem); border: 0; }
.reading p {
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 0 0 1.35rem;
}
.reading p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 0.82;
  float: left;
  padding: 0.12em 0.14em 0 0;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255, 179, 71, 0.35);
}
.scenebreak {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  margin: 2.4rem 0 2.6rem !important;
}
.scenebreak::before, .scenebreak::after {
  content: "";
  width: 2.5rem; height: 1px;
  background: var(--rule);
}
.scenebreak .ring { width: 0.55rem; height: 0.55rem; }

.chapterend { padding: 0 0 clamp(2.5rem, 6vw, 3.5rem); }
.chapterend .readcol {
  border-top: 1px solid var(--rule);
  position: relative;
  text-align: center;
}
.chapterend .buys { justify-content: center; }
.chapterend .readcol::before {
  content: "";
  position: absolute; left: 50%; top: -1px;
  width: 12rem; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}
.chapterend .endmark {
  font-family: var(--ui);
  font-size: 0.88rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 2rem 0 1.5rem;
}
.chapterend h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  margin: 0 0 1rem;
}
.chapterend p { color: var(--ink-dim); margin: 0 0 1rem; }

.readlink {
  display: inline-block;
  font-family: var(--ui);
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 179, 71, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease);
}
.readlink:hover { border-bottom-color: var(--accent); color: var(--accent); transform: translateX(3px); }
.sampleline { margin: 1.5rem 0 0; }
.moreline { margin: 2rem 0 0 !important; }

.legalnote { border-top: 1px solid var(--rule); padding: 2rem 0; }
.legalnote p {
  font-family: var(--ui);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-faint);
  margin: 0;
  max-width: var(--measure);
}
/* keep the note aligned with the copy column above it */
.legalnote .seriesinner, .legalnote .detailsinner {
  display: grid;
  grid-template-columns: var(--labelcol) minmax(0, var(--measure));
  column-gap: clamp(2rem, 5vw, 4rem);
  justify-content: center;
}
.legalnote .seriesinner p, .legalnote .detailsinner p { grid-column: 2; }
.legalnote .readcol { text-align: center; }
.legalnote .readcol p { margin: 0 auto; }

/* The feed's closing line: the marketing pay-off. Emphasised, but set in the
   body serif — it runs too long to survive the display face. */
.closing {
  position: relative;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--accent);
  padding: 1.5rem 0 0;
  margin: 2.2rem 0 0 !important;
  max-width: var(--measure);
}
.closing::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}
.closing em { font-style: italic; }

/* ---------- motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero .markart { animation: fadein 1.6s var(--ease) both; }
.herocover { animation: rise 0.9s var(--ease) both; }
.herotext > * { animation: rise 0.8s var(--ease) both; }
.herotext > :nth-child(1) { animation-delay: 0.15s; }
.herotext > :nth-child(2) { animation-delay: 0.22s; }
.herotext > :nth-child(3) { animation-delay: 0.29s; }
.herotext > :nth-child(4) { animation-delay: 0.36s; }
.herotext > :nth-child(5) { animation-delay: 0.43s; }
.herotext > :nth-child(6) { animation-delay: 0.50s; }
.herotext > :nth-child(7) { animation-delay: 0.57s; }
.herotext > :nth-child(8) { animation-delay: 0.64s; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .heroinner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .herocover .markart { width: 220%; }
  .herocover { max-width: 16rem; perspective: none; }
  .herocover picture { transform: none; }
  .byline { justify-content: center; }
  .hook, .prelaunch, .lede { margin-left: auto; margin-right: auto; }
  .buys { justify-content: center; }
  .pull { text-align: left; }

  .story .storyinner, .series .seriesinner, .details .detailsinner,
  .legalnote .seriesinner, .legalnote .detailsinner {
    display: block;
    max-width: var(--measure);
    margin: 0 auto;
  }
  .story .sectionlabel, .series .sectionlabel, .details .sectionlabel {
    position: static;
    margin: 0 0 1.5rem;
  }
  .signupinner { margin: 0 auto; }
  .footinner { grid-template-columns: 1fr; }
  .sitefooter nav { justify-content: flex-start; }
}

@media (max-width: 800px) {
  .aboutgrid { grid-template-columns: 1fr; justify-items: start; }
  .aboutfigure { width: min(60%, 13rem); }

}

@media (max-width: 560px) {
  .startcard { grid-template-columns: 1fr; justify-items: start; }
  .startcard .card { width: 8rem; }
  .signupinner .markart { right: -14rem; }
}

@media (max-width: 420px) {
  .detailsinner dl > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .siteheader nav { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .herocover picture { transform: none; }
}
