/* Jaxon Reade — author site. Dark, grounded, cinematic. */

@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0c1014;
  --bg-2: #11171c;
  --surface: #151c22;
  --surface-2: #1c252c;
  --line: rgba(236, 230, 214, 0.14);
  --line-strong: rgba(236, 230, 214, 0.32);
  --text: #ece6d6;
  --muted: #aeafa5;
  --amber: #e8a33d;
  --amber-hi: #f2b95a;
  --amber-ink: #17110a;
  --nv: #86c98a;
  --err: #f0a08a;

  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --label: "Oswald", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --narrow: 720px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--amber-ink); padding: .75rem 1rem; font-family: var(--label); z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

/* ---- Type ---- */
.eyebrow {
  font-family: var(--label); font-weight: 500; font-size: .8125rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 1rem; display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; flex: none; }
.eyebrow.plain::before { display: none; }
.display { font-family: var(--display); letter-spacing: .015em; line-height: .92; text-transform: uppercase; }
.h-hero { font-size: clamp(3.75rem, 10.5vw, 8.25rem); }
.h-page { font-size: clamp(3rem, 7.5vw, 5.75rem); }
.h-section { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.h-sub { font-family: var(--label); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: .9375rem; color: var(--text); }
.lede { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.55; color: var(--text); max-width: 34ch; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.label { font-family: var(--label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.prose { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem;
  padding: .8rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--label); font-weight: 500; font-size: .875rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-hi); color: var(--amber-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-hi); }
.btn-pending { background: transparent; color: var(--amber); border: 1px dashed rgba(232, 163, 61, .6); cursor: default; letter-spacing: .12em; }
.btn-pending:hover { color: var(--amber); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }

.arrow-link {
  font-family: var(--label); font-weight: 500; font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; padding-block: .5rem;
}
.arrow-link span { transition: transform .18s ease; }
.arrow-link:hover span { transform: translateX(4px); }

/* ---- Promo banner ---- */
.promo {
  background: var(--surface-2); border-bottom: 1px solid rgba(232, 163, 61, .45); position: relative; z-index: 60;
}
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 1rem 1.25rem; flex-wrap: wrap; padding: .7rem 3.25rem .7rem var(--gutter); min-height: 3rem; }
.promo-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--nv); flex: none; }
.promo-text { font-family: var(--label); font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; line-height: 1.4; }
.promo-link { font-family: var(--label); font-weight: 500; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); white-space: nowrap; padding-block: .35rem; }
.promo-close {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem;
  background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.5rem; line-height: 1; font-family: var(--label);
}
.promo-close:hover { color: var(--text); }

/* ---- Header ---- */
.site-header { position: relative; z-index: 50; background: rgba(12, 16, 20, .92); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1.5rem; }
.wordmark { font-family: var(--display); font-size: 1.85rem; letter-spacing: .14em; color: var(--text); text-decoration: none; line-height: 1; padding-block: .5rem; }
.wordmark:hover { color: var(--text); }
.wordmark b { font-weight: 400; color: var(--amber); }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav a { font-family: var(--label); font-weight: 500; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); text-decoration: none; padding-block: .75rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); font-family: var(--label); font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; min-height: 2.75rem; padding: 0 1rem; cursor: pointer; border-radius: var(--radius); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding-block: 1rem; border-bottom: 1px solid var(--line); font-size: .9375rem; }
  .nav a:last-child { border-bottom: 0; }
  .wordmark { font-size: 1.6rem; }
}

/* ---- Sections ---- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---- Hero ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,16,20,.94) 0%, rgba(12,16,20,.78) 42%, rgba(12,16,20,.35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(12,16,20,0) 28%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); min-height: min(86vh, 800px); }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2.25rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero-cover { justify-self: end; width: min(100%, 360px); }
.hero-cover a { display: block; }
.cover { box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(236,230,214,.1); border-radius: 2px; background: var(--surface); }
.hero-note { margin-top: 1.25rem; font-family: var(--label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-cover { justify-self: start; width: min(62%, 260px); order: -1; }
  .hero::after { background: linear-gradient(0deg, rgba(12,16,20,.55), rgba(12,16,20,.8)), linear-gradient(0deg, var(--bg) 0%, rgba(12,16,20,0) 20%); }
}

/* ---- Series strip ---- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.series { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); counter-reset: bk; list-style: none; padding: 0; margin: 0; }
.series > li { position: relative; }
.book-card { display: block; text-decoration: none; color: var(--text); }
.book-card:hover { color: var(--text); }
.book-card .cover-wrap { position: relative; overflow: hidden; border-radius: 2px; }
.book-card img { width: 100%; transition: transform .5s ease; }
.book-card:hover img { transform: scale(1.025); }
.book-no { font-family: var(--display); font-size: 1rem; letter-spacing: .24em; color: var(--amber); margin: 1.25rem 0 .25rem; display: block; }
.book-card h3 { font-family: var(--display); font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: .03em; text-transform: uppercase; line-height: 1; margin-bottom: .6rem; }
.book-card p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin-bottom: .9rem; max-width: 34ch; }
.status { font-family: var(--label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--nv); }
.status.soon::before { background: var(--amber); }
.also { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; }
.also p { margin: 0; }

@media (max-width: 760px) {
  .series { grid-template-columns: 1fr; gap: 2rem; }
  .book-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 1.25rem; align-items: start; }
  .book-card .cover-wrap { grid-row: 1 / span 4; }
  .book-no { margin-top: 0; }
}

/* ---- Atmosphere band (bio teaser, about) ---- */
.atmos { position: relative; isolation: isolate; overflow: hidden; }
.atmos-bg { position: absolute; inset: 0; z-index: -2; }
.atmos-bg img { width: 100%; height: 100%; object-fit: cover; }
.atmos::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12,16,20,.72); }
.atmos-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.stat { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-strong); }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(3.25rem, 6vw, 4.75rem); line-height: .9; color: var(--text); letter-spacing: .01em; }
.stat span { font-family: var(--label); font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.stat b.amber { color: var(--amber); }
@media (max-width: 860px) { .atmos-grid { grid-template-columns: 1fr; } .stat { grid-template-columns: 5rem 1fr; } }

/* ---- Newsletter ---- */
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.signup-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--radius); }
.field { margin-bottom: 1.1rem; }
.field label, .field .lab { display: block; font-family: var(--label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; font-size: 1rem; padding: .8rem .95rem; min-height: 3rem; line-height: 1.4;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; margin-bottom: 1.25rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--amber); }
.check a { color: var(--text); }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 1rem; font-size: .9375rem; line-height: 1.5; min-height: 1.5rem; }
.form-msg.err { color: var(--err); }
.form-ok { padding-block: .5rem; }
.form-ok h3 { font-family: var(--display); font-size: 2.25rem; letter-spacing: .03em; text-transform: uppercase; color: var(--amber); margin-bottom: .5rem; }
.fineprint { font-size: .8125rem; color: var(--muted); margin: 1rem 0 0; line-height: 1.5; }
.fineprint a { color: var(--muted); }
@media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; }
.checklist li::before { content: attr(data-n); font-family: var(--display); color: var(--amber); font-size: 1.3rem; letter-spacing: .08em; line-height: 1.4; }
.checklist strong { display: block; font-family: var(--label); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; margin-bottom: .15rem; }
.checklist span { color: var(--muted); font-size: 1rem; line-height: 1.55; display: block; }

/* ---- Page header (interior) ---- */
.page-head { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head .atmos-bg { z-index: -2; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(12,16,20,.7) 60%, rgba(12,16,20,.85) 100%); }
.page-head p.lede { margin-top: 1.5rem; }

/* ---- Books page rows ---- */
.book-row { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.book-row:first-of-type { border-top: 0; padding-top: 0; }
.book-row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.book-row:nth-of-type(even) .book-row-cover { order: 2; }
.book-row h2 { margin-bottom: 1rem; }
.book-row .hook { font-size: 1.25rem; line-height: 1.5; max-width: 34ch; margin-bottom: 1.5rem; }
@media (max-width: 760px) {
  .book-row, .book-row:nth-of-type(even) { grid-template-columns: 1fr; }
  .book-row .book-row-cover, .book-row:nth-of-type(even) .book-row-cover { order: 0; width: min(62%, 240px); }
}

/* ---- Book page ---- */
.book-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.book-aside { position: sticky; top: 1.5rem; }
.book-aside .cover { width: 100%; }
.cover-pd { max-width: 334px; }
.crumbs { font-family: var(--label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs span { margin-inline: .6rem; opacity: .5; }
.book-main h1 { margin-bottom: 1.5rem; }
.desc .lead { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; font-weight: 600; color: var(--text); max-width: 30ch; margin-bottom: 1.75rem; }
.desc p { max-width: 60ch; }
.desc .closer { font-weight: 600; font-size: 1.25rem; }
.desc .series-note { color: var(--muted); font-style: italic; }
.hooklines { font-style: italic; color: var(--amber); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; margin: 0 0 1.75rem; }
.buy { margin-top: 2.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.buy h2 { font-family: var(--label); font-weight: 500; font-size: .8125rem; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.buy-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.buy-row.one { grid-template-columns: 1fr; }
.buy-note { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.next { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.next a.next-title { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; letter-spacing: .03em; line-height: 1; color: var(--text); text-decoration: none; display: inline-block; margin: .25rem 0 .5rem; }
.next a.next-title:hover { color: var(--amber); }
.next p { margin: 0; }
.next .cover, .next .cover-pd { width: 100%; max-width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-aside { position: static; width: min(66%, 320px); }
  .cover-pd { max-width: 240px; }
}
@media (max-width: 560px) { .buy-row { grid-template-columns: 1fr; } .next { grid-template-columns: 72px minmax(0, 1fr); } }

/* ---- Prose pages ---- */
.doc h2 { font-family: var(--label); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: 1rem; color: var(--amber); margin: 2.5rem 0 .75rem; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.doc li { margin-bottom: .4rem; }
.bio { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.6; max-width: 36ch; }
.bio + .bio { margin-top: 1.1rem; }

/* ---- 404 ---- */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 3rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.footer-grid .foot-genre { font-size: .85rem; color: var(--muted); margin: -.55rem 0 .6rem; }
@media (max-width: 1040px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-grid h2 { font-family: var(--label); font-weight: 500; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a { display: inline-block; padding-block: .4rem; color: var(--text); text-decoration: none; font-size: 1rem; }
.footer-grid li a:hover { color: var(--amber); }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .875rem; color: var(--muted); }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---- Motion ---- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- Author portrait ---- */
.portrait { margin: 0; position: relative; width: 100%; max-width: 420px; }
.portrait picture::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid rgba(232,163,61,.55); border-radius: 2px; z-index: 0; }
.portrait picture { position: relative; display: block; }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(236,230,214,.12); background: var(--surface); }
.portrait figcaption { position: relative; z-index: 1; margin-top: 1.4rem; font-family: var(--label); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.atmos-grid.has-portrait { grid-template-columns: minmax(0, 270px) minmax(0, 1.15fr) minmax(0, .95fr); align-items: center; }
.about-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-grid .stats { margin-top: 2.5rem; }
@media (min-width: 861px) { .atmos-grid.has-portrait.no-stats { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); max-width: 980px; } }
@media (max-width: 1040px) { .atmos-grid.has-portrait { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); } .atmos-grid.has-portrait .stats { grid-column: 1 / -1; } }
@media (max-width: 860px) { .atmos-grid.has-portrait, .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 260px; margin-left: 12px; } .about-grid .portrait { max-width: 320px; } }

/* ---- Awards and praise ---- */
.praise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.praise-item { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--amber); padding: 1.5rem; border-radius: var(--radius); display: flex; flex-direction: column; gap: .75rem; }
.praise-type { font-family: var(--label); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.praise-item h3 { font-family: var(--display); font-size: 1.6rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; }
.praise-item blockquote { margin: 0; font-style: italic; color: var(--text); line-height: 1.55; }
.praise-src { margin: auto 0 0; font-size: .9rem; color: var(--muted); }

/* ---- FAQ ---- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--label); font-weight: 500; font-size: 1.0625rem; letter-spacing: .06em; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--amber); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 0 1.35rem; color: var(--muted); max-width: 66ch; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---- News and deals ---- */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.news-item { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--amber); padding: 1.35rem 1.5rem; border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center; }
.news-item h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; margin: .15rem 0 .35rem; }
.news-item p { margin: 0; color: var(--muted); }
.news-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-family: var(--label); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.news-chip { color: var(--amber-ink); background: var(--amber); padding: .15rem .6rem; border-radius: 2px; letter-spacing: .16em; }
.news-chip.soon { background: transparent; color: var(--amber); border: 1px solid rgba(232,163,61,.6); }
.news-empty { color: var(--muted); border: 1px dashed var(--line-strong); padding: 1.5rem; border-radius: var(--radius); }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } .news-item .btn { width: 100%; } }

/* ---- Reading order ---- */
.order-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
.order-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.75rem; align-items: start; padding-top: 2rem; border-top: 1px solid var(--line); }
.order-item:first-child { border-top: 0; padding-top: 0; }
.order-item h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: .03em; text-transform: uppercase; line-height: 1; margin: .2rem 0 .6rem; }
.order-item h2 a { color: var(--text); text-decoration: none; }
.order-item h2 a:hover { color: var(--amber); }
.order-item .hook { color: var(--text); font-weight: 600; margin-bottom: .6rem; }
.order-item p { color: var(--muted); }
@media (max-width: 560px) { .order-item { grid-template-columns: 96px minmax(0, 1fr); gap: 1.1rem; } }

/* ---- Article ---- */
.article h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.05; margin: 2.75rem 0 .9rem; color: var(--text); }
.article p { color: var(--text); }
.article .small { color: var(--muted); }
.draft-flag { background: #2a1d0a; border: 1px dashed var(--amber); color: var(--amber-hi); padding: .85rem 1.1rem; border-radius: var(--radius); font-family: var(--label); letter-spacing: .08em; font-size: .9rem; margin-bottom: 2rem; }

/* ---- Compact signup band at the foot of book pages ---- */
.section.band .signup-grid { align-items: center; }

/* ---- Challenge ---- */
.field select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit; font-size: 1rem; padding: .8rem .95rem; min-height: 3rem; line-height: 1.4; }
.field select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.field select[aria-invalid="true"] { border-color: var(--err); }
.prize-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; }
.prize { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; border-radius: var(--radius); display: flex; flex-direction: column; gap: .5rem; }
.prize-first { border-top: 2px solid var(--amber); }
.prize-place { font-family: var(--label); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.prize b { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: .03em; text-transform: uppercase; line-height: 1.05; color: var(--text); }
.prize span:last-child { color: var(--muted); }
@media (max-width: 760px) { .prize-grid { grid-template-columns: 1fr; } }
.dates, .plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dates li { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.dates b { font-family: var(--label); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; }
.dates span { color: var(--muted); }
.plain-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .dates li { grid-template-columns: 1fr; gap: .25rem; } }
.challenge-line { background: var(--bg-2); border-block: 1px solid var(--line); padding-block: 1.75rem; }
.challenge-band .btn { white-space: nowrap; }
.article.doc ol, .article.doc ul { padding-left: 1.25rem; }
.article.doc li { margin-bottom: .5rem; color: var(--text); }
.amber { color: var(--amber); }
.article .lede { max-width: none; }
