:root {
  --paper: #FAF7F2;
  --paper-alt: #F2ECE1;
  --surface: #FFFFFF;
  --navy: #14243A;
  --navy-deep: #0E1A2B;
  --navy-soft: #223856;
  --forest: #1D3A3A;
  --gold: #B48336;
  --gold-dark: #936723;
  --gold-light: #DFBA74;
  --ink: #1B2432;
  --ink-soft: #435063;
  --ink-muted: #657182;
  --rule: #E3DBCD;
  --rule-strong: #D2C7B4;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(20, 36, 58, 0.04), 0 10px 28px -12px rgba(20, 36, 58, 0.08);
  --shadow-book: 0 22px 38px -14px rgba(14, 26, 43, 0.36), 0 6px 14px -4px rgba(14, 26, 43, 0.14);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Navigation ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  color: #F6EFE2;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--navy);
}

.site-nav .nav-cta {
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: #FFFFFF;
}

.site-nav .nav-cta:hover {
  background: var(--navy-soft);
  color: #FFFFFF;
}

/* ── Typography Helpers ──────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 12px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.45rem);
  line-height: 1.12;
  font-weight: 500;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.18;
  font-weight: 500;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-head {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0;
}

.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 18px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 7px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: rgba(20, 36, 58, 0.06);
}

.btn-soft {
  background: var(--paper-alt);
  border-color: var(--rule-strong);
  color: var(--navy);
}

.btn-soft:hover {
  background: #E9E0D1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--gold-dark);
}

/* ── Book Cover Styling ──────────────────────────────────────────────── */
.book-frame {
  position: relative;
  display: block;
  border-radius: 4px 7px 7px 4px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  border: 1px solid rgba(20, 36, 58, 0.14);
  background: #14243A;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.06) 2.5%,
    rgba(0, 0, 0, 0.16) 4.2%,
    rgba(255, 255, 255, 0) 8%
  );
}

.book-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 46px -14px rgba(14, 26, 43, 0.42), 0 8px 18px -4px rgba(14, 26, 43, 0.18);
}

.book-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Hero Section ────────────────────────────────────────────────────── */
.hero {
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 70% 60% at 85% 25%, rgba(180, 131, 54, 0.09), transparent 70%),
    linear-gradient(180deg, #FDFBF7 0%, var(--paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: center;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.hero-meta span strong {
  color: var(--navy);
  font-weight: 600;
}

.hero-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
}

.hero-book {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-book.featured {
  transform: translateY(-14px);
}

.hero-book-label {
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.3;
}

.hero-book:hover .hero-book-label {
  color: var(--navy);
}

/* ── Sections ────────────────────────────────────────────────────────── */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-navy {
  background: var(--navy);
  color: #E9EEF5;
}

.section-navy h2,
.section-navy h3 {
  color: #FFFFFF;
}

.section-navy .eyebrow {
  color: var(--gold-light);
}

/* ── Imprint Pillars ─────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-card);
}

.pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ── Catalog Book Cards ──────────────────────────────────────────────── */
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.book-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.book-card-cover {
  max-width: 240px;
}

.book-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EFE7D8;
  color: var(--navy);
}

.badge-gold {
  background: rgba(180, 131, 54, 0.16);
  color: #7D5618;
}

.badge-teal {
  background: rgba(29, 58, 58, 0.12);
  color: var(--forest);
}

.book-card h3 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 6px;
}

.book-card h3 a {
  text-decoration: none;
  color: var(--navy);
}

.book-card h3 a:hover {
  color: var(--gold-dark);
}

.book-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.45;
}

.book-summary {
  margin: 0 0 16px;
  color: var(--ink);
}

.book-points {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.book-points li {
  margin-bottom: 7px;
}

.book-points strong {
  color: var(--ink);
}

.book-formats {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0 0 22px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

/* ── Toolkits Grid ───────────────────────────────────────────────────── */
.toolkits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.toolkit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(223, 186, 116, 0.28);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.toolkit-tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.toolkit-card p {
  margin: 0;
  color: #CBD5E1;
  font-size: 0.98rem;
}

.toolkit-meta {
  font-size: 0.88rem;
  color: #9FB0C7;
  margin-top: 10px !important;
}

.btn-on-dark {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.btn-on-dark:hover {
  background: #E9CA8D;
}

.btn-outline-dark {
  background: transparent;
  border-color: rgba(223, 186, 116, 0.55);
  color: #F6EFE2;
}

.btn-outline-dark:hover {
  background: rgba(223, 186, 116, 0.12);
}

/* ── Author Section ──────────────────────────────────────────────────── */
.author-box {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.author-seal {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 12px 26px -10px rgba(20, 36, 58, 0.35);
  margin: 0 auto;
}

.author-quote {
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}

/* ── Book Detail Page ────────────────────────────────────────────────── */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.detail-hero {
  padding: 36px 0 64px;
  border-bottom: 1px solid var(--rule);
}

.detail-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.detail-body {
  padding: 60px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 22px 24px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.callout-panel {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--navy);
  border-radius: 12px;
  padding: 30px;
  margin-top: 36px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.spec-item {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 14px 16px;
}

.spec-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--navy);
  margin-top: 4px;
  font-size: 0.98rem;
}

.two-col-list {
  columns: 2;
  column-gap: 36px;
  padding-left: 20px;
}

.two-col-list li {
  break-inside: avoid;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: #B8C4D4;
  padding: 60px 0 34px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 14px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 9px;
}

.site-footer a {
  color: #D7E0EC;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 0.86rem;
  color: #8D9BB0;
  line-height: 1.55;
  margin: 14px 0 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.88rem;
  color: #8D9BB0;
}

.footer-axel {
  font-size: 0.86rem;
  color: #8D9BB0;
}

.footer-axel a {
  color: #B8C4D4;
  text-decoration: underline;
  text-decoration-color: rgba(223, 186, 116, 0.45);
}

.footer-axel a:hover {
  color: var(--gold-light);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-book.featured {
    transform: translateY(-8px);
  }
  .pillars-grid,
  .toolkits-grid {
    grid-template-columns: 1fr;
  }
  .book-card {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 26px;
    padding: 26px;
  }
  .detail-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 17px;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    gap: 12px;
  }
  .site-nav {
    gap: 16px;
  }
  .hero {
    padding: 44px 0 54px;
  }
  .hero-shelf {
    gap: 12px;
  }
  .section {
    padding: 54px 0;
  }
  .book-card,
  .detail-grid,
  .author-box,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .book-card-cover,
  .detail-cover {
    max-width: 230px;
    margin: 0 auto;
  }
  .author-box {
    padding: 28px 22px;
    text-align: center;
  }
  .author-quote {
    text-align: left;
  }
  .two-col-list {
    columns: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
