:root{--paper:#f7f3eb;--ink:#253c36;--muted:#5b6860;--line:#d9ded2;--pink:#e93e73;--green:#294f43;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid var(--pink);outline-offset:5px}
a:hover .arrow{transform:translateX(4px)}
.arrow{display:inline-block;transition:transform .2s}
.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;font-weight:700}
h1,h2,h3,p{margin:0}
h1{font:normal clamp(42px,4.7vw,67px)/1.06 var(--serif);letter-spacing:-2.3px;margin-top:17px}
h1 em{color:#8b4b40;font-weight:normal}
.button{display:inline-flex;gap:20px;align-items:center;background:var(--ink);color:#fff;padding:11px 18px;border-radius:4px;font-size:13px;font-weight:700}
.button:hover{background:#456452}
.text-link{font-weight:700;font-size:13px;border-bottom:1px solid #8d9a8e;padding-bottom:3px;display:inline-block}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Keep platform navigation, footer and reader controls visible. */
.theme-shell-header,.theme-shell-footer{width:min(1200px,calc(100% - 80px));margin:auto;padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font:12px/1.6 Arial,Helvetica,sans-serif;color:var(--muted)}
.theme-shell-header{border-bottom:1px solid var(--line)}
.theme-shell-nav{display:flex;gap:18px;flex-wrap:wrap}
.theme-shell-name{font-weight:700}.theme-shell-footer{border-top:1px solid var(--line);flex-wrap:wrap}
.theme-shell-header a:hover,.theme-shell-footer a:hover{text-decoration:underline}
.theme-subscription{width:min(1200px,calc(100% - 80px));margin:24px auto;padding:24px;border:1px solid var(--line);border-radius:7px}
.theme-subscription h2{font:28px/1.2 var(--serif);margin-bottom:12px}.theme-subscription p{font-size:14px;color:var(--muted)}
@media(max-width:800px){.theme-shell-header,.theme-shell-footer,.theme-subscription{width:calc(100% - 36px)}.theme-shell-header{align-items:flex-start;flex-direction:column;gap:8px}}

/* Shared Feldroy book layout */
.theme-shell-main:has(> .feldroy-book) {
  width: min(1120px, calc(100% - 48px));
  padding-block: clamp(24px, 4vw, 54px);
}
.feldroy-book-hero {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffbf4;
}
.feldroy-book-hero.has-book-cover { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.feldroy-book-copy { overflow-wrap: anywhere; padding: clamp(28px, 4.5vw, 62px); }
.feldroy-book-copy .eyebrow { color: var(--muted); }
.feldroy-book-copy h1 {
  max-width: 17ch;
  margin-block: 14px 18px;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -.045em;
}
.feldroy-book-copy-two-scoops h1 { max-width: 11ch; }
.feldroy-book-promise { font: 26px/1.2 var(--serif); }
.feldroy-book-intro { max-width: 45ch; margin-top: 12px; color: var(--muted); }
.feldroy-book-byline { margin-top: 18px; font-size: 14px; font-weight: 700; }
.feldroy-book-copy .stead-book-purchase {
  --stead-book-purchase-action: var(--green);
  margin-block: 24px 8px;
}
.feldroy-book-copy .stead-book-purchase a.stead-book-purchase__primary {
  padding-inline: 24px;
  border-radius: 5px;
}
.feldroy-book-free-copy { margin-top: 20px; }
.feldroy-book-copy .feldroy-book-format { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.feldroy-book-copy-two-scoops .feldroy-book-format { margin-top: 0; }
.feldroy-book-cover {
  display: grid;
  place-items: center;
  padding: 36px;
  background: #e2e9dc;
}
.feldroy-book-cover img {
  display: block;
  width: min(100%, 290px);
  height: auto;
  border-radius: 3px;
  box-shadow: 9px 15px 32px #253c3640;
}
.feldroy-book-inside { padding-top: clamp(32px, 5vw, 64px); }
.feldroy-book-inside h2, .feldroy-book-editions h2 { font: 36px/1.15 var(--serif); letter-spacing: -.025em; }
.feldroy-book-prose { max-width: 66ch; overflow-wrap: anywhere; }
.feldroy-book-prose h2 { margin-bottom: 14px; }
.feldroy-book-prose h2:not(:first-child) { margin-top: 26px; }
.feldroy-book-prose p + p { margin-top: 12px; }
/* The platform description repeats the author credit already shown in the hero. */
.feldroy-book-description > .book-authors { display: none; }
.feldroy-book-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}
.feldroy-book-topics li { padding: 22px; border: 1px solid var(--line); border-radius: 6px; background: #fffbf4; }
.feldroy-book-topics strong { display: block; margin-bottom: 8px; font: bold 20px/1.2 var(--serif); }
.feldroy-book-topics span { color: var(--muted); font-size: 15px; }
.feldroy-book-edition-note { padding: 16px 20px; border-left: 3px solid #8b4b40; background: #f1e7db; font-size: 14px; }
.book-editions.feldroy-book-editions { border-color: var(--line); }
.feldroy-book-editions.book-editions > article {
  display: grid;
  gap: 16px;
  align-items: start;
  margin-top: 20px;
}
.feldroy-book-editions.book-editions > article + article { padding-top: 20px; border-color: var(--line); }
.feldroy-book-editions.book-editions > article:has(> img) { grid-template-columns: 54px minmax(0, 1fr); }
.feldroy-book-editions.book-editions > article > img { width: 54px; max-width: 100%; height: auto; margin: 0; }
.feldroy-book-edition-copy { display: grid; gap: 3px; overflow-wrap: anywhere; }
.feldroy-book-edition-copy .text-link { justify-self: start; }
.feldroy-book-editions h3 { font-size: 17px; line-height: 1.35; }
.feldroy-book-editions p, .feldroy-book-editions details { color: var(--muted); font-size: 14px; }
.feldroy-book-editions summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.feldroy-book-editions details div { max-width: 65ch; padding-top: 8px; }
.feldroy-book-editions summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@media (max-width: 700px) {
  .theme-shell-main:has(> .feldroy-book) { width: calc(100% - 36px); }
  .feldroy-book-hero.has-book-cover, .feldroy-book-topics { grid-template-columns: minmax(0, 1fr); }
  .feldroy-book-cover { padding: 22px; }
  .feldroy-book-cover img { width: 190px; max-width: 100%; }
  .feldroy-book-promise { font-size: 24px; }
  .feldroy-book-inside h2, .feldroy-book-editions h2 { font-size: 30px; }
}

/* Publishing story homepage */
.theme-shell-main:has(> .feldroy-story) { width: 100%; max-width: none; padding: 0; }
body:has(.feldroy-story) { background: #fff; }
body:has(.feldroy-story) .theme-shell-header,
body:has(.feldroy-story) .theme-shell-footer {
  width: min(1320px, calc(100% - clamp(36px, 8vw, 120px)));
}
.feldroy-story {
  --muted: #526058;
  --teal: #0d3b3e;
  --light: #f8faff;
  --indigo: #49429b;
}
.feldroy-story .wrap { width: min(1320px, calc(100% - clamp(40px, 8vw, 120px))); margin-inline: auto; }
.feldroy-story h1, .feldroy-story h2, .feldroy-story p, .feldroy-story figure { margin: 0; }
.feldroy-story h1, .feldroy-story h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.feldroy-story h1 { font-size: clamp(49px, 6.25vw, 88px); line-height: .99; margin-block: 16px 22px; }
.feldroy-story h1 em { display: block; color: var(--indigo); }
.feldroy-story h2 { font-size: clamp(42px, 6vw, 86px); line-height: .99; margin-top: 12px; }
.feldroy-story a { color: inherit; text-underline-offset: .24em; }
.feldroy-story a:focus-visible { outline: 3px solid var(--indigo); outline-offset: 5px; }
.feldroy-story img { display: block; max-width: 100%; height: auto; }
.feldroy-story .eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.feldroy-story .story-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-block: 12px; font-size: 13px; }
.feldroy-story .story-nav a { font-weight: 700; text-decoration: none; }
.feldroy-story .story-nav a:hover { text-decoration: underline; }
.feldroy-story .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  min-height: min(770px, calc(100svh - 90px));
  align-items: center;
  padding-block: clamp(36px, 5vw, 72px);
}
.feldroy-story .intro { max-width: 45ch; color: var(--muted); font-size: 17px; }
.feldroy-story .offer { margin-top: 22px; max-width: 50ch; }
.feldroy-story .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; }
.feldroy-story .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 5px;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  font: 700 14px/1.4 Arial, sans-serif;
  text-decoration: none;
}
.feldroy-story a.button:hover { background: #3f6154; }
.feldroy-story .text-link { display: inline; padding: 0; border: none; font-size: 14px; font-weight: 700; text-decoration: underline; }
.feldroy-story .fine { color: var(--muted); font-size: 12px; margin-top: 9px; }
.feldroy-story .book-figure { display: grid; justify-items: center; }
.feldroy-story .book-figure img {
  width: min(100%, 364px);
}
.feldroy-story figcaption { font-size: 14px; }
.feldroy-story .chapter { padding-block: clamp(52px, 8vw, 116px); }
.feldroy-story .launch { background: #f0e3ed; }
.feldroy-story .stead {
  background: var(--teal);
  color: var(--light);
}
.feldroy-story .stead a:focus-visible { outline-color: var(--light); }
.feldroy-story .ambria { background: #e5eeea; }
.feldroy-story .writer { background: #e6ddec; }
.feldroy-story .grimdark { background: var(--paper); }
.feldroy-story .grimdark-feature,
.feldroy-story .fleet-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
}
.feldroy-story .grimdark-feature {
  align-items: center;
  margin-top: clamp(24px, 4vw, 48px);
}
.feldroy-story .grimdark-covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(10px, 2vw, 24px);
  width: min(100%, 420px);
  justify-self: center;
}
.feldroy-story .grimdark-covers img,
.feldroy-story .fleet-cover {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 10px 20px #253c362b;
}
.feldroy-story .science-fiction { background: #e7edf0; }
.feldroy-story .fleet-art {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  height: clamp(210px, 24vw, 320px);
  padding: 16px;
  border-radius: 5px;
  background: #d7e2e7;
}
.feldroy-story .fleet-art img {
  max-height: 100%;
  border-radius: 4px;
  object-fit: contain;
}
.feldroy-story .fleet-cover { width: auto; max-width: min(100%, 165px); }
.feldroy-story .fleet-projects h3 {
  margin: 18px 0 10px;
  font: 400 clamp(26px, 3vw, 40px)/1.12 var(--serif);
  letter-spacing: -.025em;
}
.feldroy-story .tabletop .tabletop-feature { align-items: center; margin-bottom: 0; }
.feldroy-story .tabletop .gallery a { display: block; }
.feldroy-story .first-scoop { background: #eaf1ff; }
.feldroy-story .first-scoop .chapter-heading { align-items: center; margin-bottom: 0; }
.feldroy-story .first-scoop .chapter-copy { max-width: 65ch; margin-top: 24px; }
.feldroy-story .first-scoop .book-figure img { width: min(100%, 350px); }
.feldroy-story .chapter-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: clamp(24px, 6vw, 92px);
  margin-bottom: clamp(30px, 5vw, 68px);
}
.feldroy-story .chapter-heading h2 { max-width: 15ch; }
.feldroy-story .chapter-copy { max-width: 48ch; }
.feldroy-story .chapter-copy p + p { margin-top: 12px; }
.feldroy-story .chapter .actions { margin-top: 18px; }
.feldroy-story .chapter .text-link { font-size: 16px; }
.feldroy-story .gallery img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 18px 42px #101c2240;
}
.feldroy-story .gallery figcaption { margin-top: 16px; }
@media (max-width: 800px) {
  .feldroy-story .wrap { width: calc(100% - 36px); }
  .feldroy-story .hero, .feldroy-story .chapter-heading { grid-template-columns: minmax(0, 1fr); }
  .feldroy-story .hero { padding-top: 30px; min-height: auto; }
  .feldroy-story .book-figure img { width: min(73%, 260px); }
  .feldroy-story .grimdark-feature,
  .feldroy-story .fleet-projects { grid-template-columns: minmax(0, 1fr); }
  .feldroy-story .grimdark-covers { width: min(100%, 300px); }
  .feldroy-story .fleet-projects { row-gap: 36px; }
}
