/* Oceanfront Press — POC site stylesheet
   Brand: coastal literary + gold + ocean blue (A2b logo water)
   Palette (CSS variables):
     --ink, --gold*, --ocean*, --mist, --stone, --charcoal
*/

:root {
  --ink: #171717;
  --paper: #ffffff;
  --gold: #c9a96e;
  --gold-light: #e0c992;
  --gold-dark: #a88b4f;
  --ocean: #1a6fa8;
  --ocean-deep: #0b3a66;
  --ocean-mid: #2a8ab8;
  --ocean-light: #5eb3d4;
  --ocean-wash: #e8f4fa;
  --ocean-mist: #f0f7fb;
  --mist: #f5f5f5;
  --fog: #e4eef4;
  --stone: #8a8a8a;
  --slate: #5a5a5a;
  --charcoal: #262626;
  --success: #2d6a4f;
  --warn: #9a7b2f;
  --info: #1a6fa8;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(11, 58, 102, 0.07);
  --shadow-lg: 0 20px 50px rgba(11, 58, 102, 0.11);
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--ocean-mist) 0%, var(--paper) 28rem);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ocean);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ocean-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 111, 168, 0.12);
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.15);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.wordmark-mark {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
}
.wordmark-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}
.wordmark span.accent {
  color: var(--gold);
  font-weight: 500;
}
.wordmark:hover { color: var(--ink); }
.wordmark .tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink);
}
.nav-toggle[aria-expanded="true"] { border-color: var(--gold); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem 1.35rem;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ocean);
}
.site-nav a.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border-bottom: none;
  font-size: 0.85rem;
}
.site-nav a.nav-cta:hover {
  background: var(--ocean-deep);
  color: var(--paper);
}

/* —— Layout —— */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.section-mist { background: linear-gradient(180deg, var(--ocean-mist), var(--mist)); }
.section-ink {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(26, 111, 168, 0.35) 0%, transparent 55%),
    linear-gradient(160deg, #0b3a66 0%, var(--ink) 55%, #0a1624 100%);
  color: var(--paper);
}
.section-ink a { color: var(--ocean-light); }
.section-ink a:hover { color: var(--gold-light); }

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(26, 111, 168, 0.12);
  background:
    linear-gradient(135deg, rgba(94, 179, 212, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, var(--ocean-wash) 0%, var(--paper) 100%);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 38rem;
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.muted { color: var(--slate); }
.small { font-size: 0.875rem; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 560;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ocean-deep);
  color: var(--paper);
  border-color: var(--ocean-deep);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* —— Home hero —— */
.home-hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(94, 179, 212, 0.22), transparent 50%),
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(201, 169, 110, 0.16), transparent 55%),
    linear-gradient(165deg, var(--ocean-mist) 0%, #f7fafc 45%, var(--paper) 100%);
  overflow: hidden;
}
.home-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ocean-light), var(--gold), transparent);
}
.home-hero .eyebrow { color: var(--ocean); }
.home-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1.1rem;
  max-width: 14ch;
  letter-spacing: -0.02em;
}
.home-hero .tagline {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 34rem;
  margin: 0;
  line-height: 1.55;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-aside {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(94, 179, 212, 0.28) 0%, transparent 50%),
    linear-gradient(165deg, #0b3a66 0%, var(--ink) 60%, #0a1624 100%);
  color: var(--paper);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(94, 179, 212, 0.2);
}
.hero-aside h2 {
  font-size: 1.25rem;
  color: var(--ocean-light);
  margin-bottom: 0.75rem;
}
.hero-aside ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}
.hero-aside li { margin-bottom: 0.45rem; }
.hero-aside .aside-foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: var(--stone);
}

/* —— Featured / Catalog cards —— */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
}
.catalog-grid.featured {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
@media (min-width: 720px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .catalog-grid.featured { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
}

.book-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  group: book;
}
.book-card:hover .cover-frame {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.cover-frame {
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-meta {
  padding-top: 0.85rem;
}
.book-meta .title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.2rem;
  color: var(--ink);
}
.book-meta .subtitle {
  font-size: 0.8rem;
  color: var(--stone);
  margin: 0 0 0.35rem;
}
.book-meta .blurb {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0.4rem 0 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
}
.badge-gold {
  background: rgba(201, 169, 110, 0.2);
  color: var(--gold-dark);
}
.badge-available {
  background: rgba(45, 106, 79, 0.12);
  color: var(--success);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head p { margin: 0; max-width: 28rem; }

/* —— How it works —— */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: 10px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(23,23,23,0.03);
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-card h3 { margin-top: 0.15rem; }
.step-card p { margin: 0; font-size: 0.92rem; color: var(--slate); }

.mock-panels {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 700px) {
  .mock-panels { grid-template-columns: repeat(3, 1fr); }
}
.mock-panel {
  background: var(--charcoal);
  color: var(--paper);
  border-radius: 10px;
  padding: 1.25rem;
  font-size: 0.85rem;
  border: 1px solid #333;
}
.mock-panel .bar {
  height: 8px;
  background: #3a3a3a;
  border-radius: 4px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}
.mock-panel .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 4px;
}
.mock-panel .label {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.mock-panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  color: rgba(255,255,255,0.75);
}

/* —— Authors —— */
.author-feature {
  display: grid;
  gap: 2rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .author-feature { grid-template-columns: 200px 1fr; }
}
.author-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid var(--gold);
}
.invite-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--mist);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--slate);
}

/* —— Portal —— */
.poc-banner {
  background: #fff8e8;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.poc-banner strong { color: var(--gold-dark); }

.portal-shell {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .portal-shell { grid-template-columns: 260px 1fr; }
}
.portal-login,
.portal-side,
.portal-main {
  background: var(--paper);
  border: 1px solid var(--fog);
  border-radius: 10px;
  padding: 1.5rem;
}
.portal-login h2 { font-size: 1.4rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--slate);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--fog);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--mist);
}
.form-group input:focus,
.form-group textarea:focus {
  background: var(--paper);
  border-color: var(--gold);
}

.ms-list { list-style: none; margin: 0; padding: 0; }
.ms-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--fog);
}
.ms-item:last-child { border-bottom: none; }
.ms-item .ms-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
}
.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.chip-edit { background: rgba(61, 90, 128, 0.15); color: var(--info); }
.chip-proof { background: rgba(154, 123, 47, 0.18); color: var(--warn); }
.chip-approved { background: rgba(45, 106, 79, 0.15); color: var(--success); }

.portal-hidden { display: none; }
.portal-shell.is-logged-in .portal-login { display: none; }
.portal-shell.is-logged-in .portal-hidden { display: contents; }
@media (min-width: 800px) {
  .portal-shell.is-logged-in .portal-hidden { display: contents; }
}

/* —— Contact thank-you —— */
.thank-you {
  display: none;
  padding: 1.5rem;
  background: rgba(45, 106, 79, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius);
  color: var(--success);
  margin-top: 1rem;
}
.thank-you.is-visible { display: block; }

/* —— Legal —— */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.legal-nav a {
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 500;
}
.legal-nav a:hover,
.legal-nav a.is-active {
  background: var(--ink);
  color: var(--gold-light);
}
.legal-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--fog);
}
.legal-block:last-child { border-bottom: none; }
.provisional {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--gold-light);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

/* —— CTA band —— */
.cta-band {
  text-align: center;
  padding: 3.5rem 1.25rem;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p {
  color: rgba(255,255,255,0.75);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(165deg, #0b3a66 0%, var(--ink) 48%, #0a1624 100%);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer .wordmark { color: var(--paper); margin-bottom: 0.75rem; }
.site-footer .wordmark-mark {
  background: transparent;
  box-shadow: none;
  /* lighten slightly on dark footer so O reads */
  filter: drop-shadow(0 0 0.5px rgba(255,255,255,0.35));
}
.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.site-footer a:hover { color: var(--gold-light); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--stone);
}

/* —— Responsive nav —— */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--fog);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .site-nav a {
    display: block;
    padding: 0.65rem 0.25rem;
    border-bottom: none;
  }
  .site-nav a.nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book-card:hover .cover-frame { transform: none; }
}


/* —— Founder page —— */
.founder-story h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}
.founder-feature h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}


/* —— Ocean accent helpers (A2b theme) —— */
.ocean-rule {
  height: 2px;
  width: 3.5rem;
  background: linear-gradient(90deg, var(--ocean), var(--gold));
  border: 0;
  margin: 1rem 0 1.25rem;
}
.btn-ocean {
  background: var(--ocean);
  color: var(--paper);
  border-color: var(--ocean);
}
.btn-ocean:hover {
  background: var(--ocean-deep);
  color: var(--paper);
  border-color: var(--ocean-deep);
}


/* —— Retail buy links —— */
.buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.buy-links--compact {
  margin-top: 0.5rem;
}
.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.buy-amazon {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.buy-amazon:hover {
  background: var(--ocean-deep);
  color: var(--paper);
  border-color: var(--ocean-deep);
}
.buy-bn {
  background: transparent;
  color: var(--ocean);
  border-color: var(--ocean);
}
.buy-bn:hover {
  background: var(--ocean);
  color: var(--paper);
}
.book-meta .isbn {
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.book-card-coverlink {
  text-decoration: none;
  color: inherit;
  display: block;
}
.author-buy-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.55;
}
.author-buy-list a {
  font-weight: 560;
}


/* Title detail links from catalog cards */
.book-meta .title a {
  color: inherit;
  text-decoration: none;
}
.book-meta .title a:hover {
  color: var(--ocean-deep);
}


/* —— Book detail + series hub —— */
.page-hero--book h1 {
  margin-bottom: 0.25rem;
}
.book-subtitle {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--slate);
  margin: 0.35rem 0 0;
}
.series-callout {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--slate);
}
.series-callout a {
  font-weight: 600;
  color: var(--ocean-deep);
}
.book-detail-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .book-detail-grid {
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 2.5rem;
  }
}
.cover-frame--detail {
  box-shadow: var(--shadow-lg);
}
.book-detail-meta .book-author {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}
.book-series {
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.book-formats {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}
.book-blurb {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 40rem;
}
.book-blurb p { margin: 0 0 0.75rem; }
.book-blurb p:last-child { margin-bottom: 0; }
.book-meta .title a {
  color: inherit;
  text-decoration: none;
}
.book-meta .title a:hover {
  color: var(--ocean-deep);
  text-decoration: underline;
}
.series-hub .series-intro {
  margin-bottom: 2rem;
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.7;
}
.series-reading-order {
  list-style: none;
  margin: 0;
  padding: 0;
}
.series-volume .blurb {
  margin: 0.5rem 0 0.75rem;
  color: var(--slate);
}


/* —— Coming soon / new release (Remnant, 2026-10-07) —— */
.badge-coming {
  background: rgba(30, 90, 140, 0.14);
  color: var(--ocean-deep);
}
.buy-link.buy-coming {
  background: transparent;
  color: var(--slate);
  border: 1px dashed var(--stone);
  cursor: default;
}
.new-release {
  background: radial-gradient(ellipse at 70% 20%, #16314f 0%, #0a1422 55%, #05090f 100%);
  color: #e8f1fb;
}
.new-release .eyebrow { color: #9cc7f0; }
.new-release h2 { color: #fff; margin: 0.25rem 0 0.5rem; }
.new-release .muted, .new-release p { color: #c9d9ea; }
.new-release-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .new-release-grid { grid-template-columns: minmax(200px, 280px) 1fr; gap: 3rem; }
}
.new-release .book-card-coverlink { width: 100%; max-width: 240px; margin: 0 auto; }
@media (min-width: 768px) { .new-release .book-card-coverlink { max-width: none; } }
.new-release .cover-frame { box-shadow: 0 18px 50px rgba(80, 160, 255, 0.25); }
.new-release-hook {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: #fff !important;
  margin: 0 0 0.75rem;
}
.new-release-date {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 199, 240, 0.5);
  color: #cfe5ff !important;
}
.new-release .btn-ghost { color: #e8f1fb; border-color: rgba(232, 241, 251, 0.5); }
.new-release .btn-ghost:hover { background: rgba(232, 241, 251, 0.1); color: #fff; }
