:root {
  --navy: #0B1F3A;
  --ink: #102033;
  --blue: #174EA6;
  --orange: #FF7A00;
  --gold: #F4B400;
  --teal: #00897B;
  --bg: #F8FAFC;
  --text: #1F2937;
  --muted: #5B6779;
  --line: #DFE8F3;
  --white: #FFFFFF;
  --shadow: 0 24px 70px -45px rgba(11, 31, 58, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img { max-width: 100%; }
p { margin: 0; line-height: 1.7; }
h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.08;
}
:focus-visible { outline: 3px solid rgba(23, 78, 166, .35); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--white); padding: 10px; z-index: 100; }
.skip-link:focus { left: 10px; }

.topbar {
  background: var(--navy);
  color: #C7D3E6;
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 58px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    radial-gradient(circle at 90% 0%, rgba(255, 122, 0, .08), transparent 32%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 232, 243, .9);
  box-shadow: 0 16px 42px -34px rgba(11, 31, 58, .45);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(223, 232, 243, .85);
  box-shadow: 0 14px 30px -24px rgba(11, 31, 58, .7);
}
.brand strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #24364F;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px 8px 9px;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 38px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.nav a:hover {
  color: var(--blue);
  background: #FFFFFF;
  border-color: rgba(23, 78, 166, .14);
  box-shadow: 0 14px 28px -24px rgba(11, 31, 58, .75);
  transform: translateY(-1px);
}
.nav a:hover::after { transform: scaleX(1); }
.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(23, 78, 166, .1), rgba(255, 122, 0, .11));
}
.nav-icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}
.nav a:hover .nav-icon {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(23, 78, 166, .16);
  background: linear-gradient(180deg, #FFFFFF, #F7FAFD);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  box-shadow: 0 14px 30px -24px rgba(11, 31, 58, .7);
}
.menu-icon {
  position: relative;
  display: inline-grid;
  gap: 4px;
  width: 20px;
}
.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: clamp(58px, 7vw, 100px) 0; }
.soft-section { background: #EEF4FA; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2, .intro-copy h2 { font-size: clamp(28px, 3.3vw, 44px); margin-top: 10px; }
.eyebrow {
  color: var(--blue);
  font-family: Manrope, Inter, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lead { color: #465366; font-size: clamp(17px, 1.55vw, 20px); max-width: 62ch; }
.subtitle { color: #465366; font-size: clamp(18px, 1.8vw, 23px); font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 110px) 0 clamp(64px, 8vw, 116px);
  background:
    radial-gradient(circle at 78% 25%, rgba(244, 180, 0, .16), transparent 28%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFD 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .82fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}
.hero-slider-viewport {
  position: relative;
  min-height: clamp(540px, 48vw, 660px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  grid-template-areas:
    "copy image"
    "details image";
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 1;
}
.hero h1 { max-width: 760px; margin: 16px 0 18px; font-size: clamp(40px, 6vw, 76px); }
.hero-copy { position: relative; z-index: 1; grid-area: copy; align-self: end; }
.hero-details { position: relative; z-index: 1; grid-area: details; align-self: start; }
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.feature-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF3E8;
  color: #C2410C;
  border: 1px solid #FED7AA;
  font-family: Manrope, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-category {
  color: var(--blue);
  font-family: Manrope, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-benefits {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #334155;
  font-weight: 700;
}
.hero-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hero-benefits li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-price {
  margin-top: 24px;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border: 0;
  border-radius: 9px;
  background: var(--orange);
  color: #fff !important;
  text-decoration: none;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 30px -18px rgba(255, 122, 0, .75);
}
.btn:hover { background: #E76F00; }
.btn.ghost {
  background: #fff;
  color: var(--blue) !important;
  border: 1px solid #D5E1EF;
  box-shadow: none;
}
.btn.small { min-height: 42px; padding: 10px 15px; font-size: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; color: #5B6779; font-weight: 800; font-size: 13px; }
.trust-row span { border: 1px solid #DDE7F2; border-radius: 999px; padding: 8px 12px; background: rgba(255,255,255,.7); }

.hero-showcase { position: relative; grid-area: image; min-height: 480px; display: grid; place-items: center; }
.hero-showcase::before {
  content: "";
  position: absolute;
  width: min(420px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,78,166,.22), rgba(0,137,123,.12) 38%, transparent 70%);
  filter: blur(6px);
}
.book-stage {
  width: min(390px, 86vw);
  aspect-ratio: 1 / 1.22;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, #0B1F3A, #173E70);
  box-shadow: var(--shadow);
}
.hero-slide .book-stage {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(11,31,58,.98), rgba(20,59,104,.94));
  transform: translateX(18px) scale(.96);
  opacity: .2;
  transition: opacity .7s ease, transform .7s ease;
}
.hero-slide.active .book-stage {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.book-stage img {
  width: min(300px, 76%);
  height: auto;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.36));
  animation: floatBook 5.5s ease-in-out infinite;
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 28px;
  max-width: 260px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 24px 60px -42px rgba(11,31,58,.7);
}
.hero-note span { display: block; color: var(--teal); font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.hero-note strong { color: var(--navy); font-family: Manrope, Inter, sans-serif; }
.hero-slider-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}
.hero-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #D5E1EF;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px -24px rgba(11,31,58,.7);
}
.hero-arrow:hover { border-color: #BFD0E4; color: var(--blue); }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #B8C6D8;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.hero-dots button.active { width: 28px; background: var(--orange); }

.author-publication-hero {
  min-height: auto;
  padding: clamp(54px, 1vw, 96px) 0 clamp(46px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(244,180,0,.18) 0 1px, transparent 1px 100%) 0 0 / 84px 100%,
    radial-gradient(circle at 74% 36%, rgba(23,78,166,.13), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(244,180,0,.14), transparent 24%),
    linear-gradient(135deg, #FFFDF9 0%, #F6F8FB 56%, #EEF4FA 100%);
}
.author-publication-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: stretch;
}
.author-editorial {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, calc(100svh - 190px), 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 3vw, 36px) 0;
  overflow: hidden;
}
.author-editorial::before {
  content: "";
  width: 72px;
  height: 2px;
  margin: 20px 0 0;
  order: 3;
  background: var(--gold);
}
.author-editorial h1 {
  margin: 16px 0 12px;
  max-width: min(700px, 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .96;
  text-wrap: balance;
}
.author-hero-line {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 1.22;
}
.author-editorial .lead {
  margin-top: 18px;
  max-width: 58ch;
  color: #445167;
}
.author-quote {
  margin-top: 24px;
  color: #7A5A15;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-style: italic;
}
.author-portrait-wash {
  position: absolute;
  right: clamp(-20px, 1vw, -20px);
  bottom: 0;
  z-index: -1;
  width: min(600px, 100%);
  opacity: .16;
  filter: grayscale(1) sepia(.18);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 74%, transparent 100%);
}
.author-portrait-wash img {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  display: block;
}
.featured-publication-panel {
  position: relative;
  min-width: 0;
  height: clamp(760px, 55vw, 880px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(11,31,58,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 30px 80px -54px rgba(11,31,58,.75);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.featured-publication-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(244,180,0,.22);
  border-radius: 18px;
  pointer-events: none;
}
.author-publication-hero .hero-slider-viewport {
  height: 100%;
  min-height: 0;
}
.author-publication-hero .hero-slide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 34px);
  transform: translate(18px, 10px) scale(.985);
  overflow: hidden;
}
.author-publication-hero .hero-slide.active {
  transform: translate(0, 0) scale(1);
}
.publication-art {
  flex: 0 0 clamp(330px, 31vw, 430px);
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.publication-art::before {
  content: "";
  position: absolute;
  width: min(430px, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,78,166,.22), rgba(0,137,123,.1) 44%, transparent 72%);
  filter: blur(8px);
}
.publication-art .book-stage {
  position: relative;
  z-index: 1;
  --publication-book-max: clamp(330px, 31vw, 430px);
  width: min(430px, 92%);
  height: min(100%, var(--publication-book-max));
  max-height: var(--publication-book-max);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  opacity: .25;
  transform: translateX(28px) translateY(8px) rotateY(9deg) scale(.94);
}
.publication-slide.active .publication-art .book-stage {
  opacity: 1;
  transform: translateX(0) translateY(0) rotateY(0) scale(1);
}
.publication-art .book-stage img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: var(--publication-book-max) !important;
  object-fit: contain !important;
  animation: none;
}
.publication-copy {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-height: 0;
  align-content: start;
  overflow: hidden;
  padding-top: 4px;
}
.publication-kicker {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.publication-kicker span {
  color: var(--blue);
  font-family: Manrope, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.publication-kicker small {
  color: #7A5A15;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.publication-copy h2 {
  color: var(--navy);
  --fit-font: clamp(22px, 2.35vw, 34px);
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.publication-slide.title-md .publication-copy h2 { --fit-font: clamp(21px, 2.05vw, 30px); font-size: var(--fit-font); }
.publication-slide.title-lg .publication-copy h2 { --fit-font: clamp(19px, 1.8vw, 26px); font-size: var(--fit-font); }
.publication-slide.title-xl .publication-copy h2 { --fit-font: clamp(18px, 1.55vw, 23px); font-size: var(--fit-font); }
.publication-copy p {
  color: #465366;
  --fit-font: clamp(13px, 1.08vw, 15px);
  font-size: clamp(13px, 1.08vw, 15px);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.publication-slide.subtitle-lg .publication-copy p { --fit-font: clamp(12px, 1vw, 14px); font-size: var(--fit-font); line-height: 1.34; }
.publication-slide.subtitle-xl .publication-copy p { --fit-font: clamp(12px, .92vw, 13px); font-size: var(--fit-font); line-height: 1.3; }
.publication-copy .hero-price {
  margin-top: 4px;
}
.publication-view-badge {
  margin-top: 2px;
  background: rgba(255,255,255,.78);
}
.publication-copy .price-stack.hero-price .offer-price {
  font-size: clamp(28px, 2.9vw, 40px);
}
.publication-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 8px;
}
.editorial-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  padding: 0 clamp(8px, 1.4vw, 18px);
  pointer-events: none;
}
.editorial-controls .hero-arrow {
  pointer-events: auto;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 36px -24px rgba(11,31,58,.75);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.publication-empty {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-height: 360px;
  align-content: center;
}
.publication-empty h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.spotlight {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid #D9E4F0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.96)),
    linear-gradient(135deg, rgba(23,78,166,.12), rgba(0,137,123,.08));
  box-shadow: var(--shadow);
}
.spotlight-media {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #071628, #143B68);
}
.spotlight-media img { width: min(300px, 78%); filter: drop-shadow(0 30px 34px rgba(0,0,0,.36)); }
.spotlight-content h2 { font-size: clamp(30px, 4vw, 52px); margin: 14px 0 10px; }
.spotlight-content > p:not(.eyebrow):not(.subtitle) { color: #465366; max-width: 62ch; }
.spotlight-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.spotlight-details div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.spotlight-details span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.spotlight-details strong { color: var(--navy); font-family: Manrope, Inter, sans-serif; }

.ebook-grid, .quiet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.ebook-card {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 55px -45px rgba(11,31,58,.65);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ebook-card:hover { transform: translateY(-4px); border-color: #C9D8EA; box-shadow: 0 30px 65px -42px rgba(11,31,58,.75); }
.cover-link {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 24px;
  background: linear-gradient(180deg, #EAF1F8, #F8FAFC);
}
.ebook-card img { width: min(190px, 88%); aspect-ratio: 3 / 4; object-fit: contain; display: block; filter: drop-shadow(0 18px 18px rgba(11,31,58,.2)); }
.card-body { display: grid; gap: 11px; padding: 20px; }
.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: space-between;
}
.card-topline .chip { min-width: 0; }
.chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border: 1px solid #C9E7E1;
  border-radius: 999px;
  background: #EAF6F4;
  color: #00695C;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
}
.rating-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid #FFE0BD;
  border-radius: 999px;
  background: #FFF8F0;
  color: #7C3A00;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}
.rating-trigger:hover { border-color: #FDBA74; background: #FFF3E8; }
.rating-stars {
  display: inline-flex;
  gap: 1px;
  color: #CBD5E1;
  font-size: 13px;
  letter-spacing: 0;
}
.rating-stars .filled { color: #F59E0B; }
.rating-summary {
  color: #5B4A34;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.card-body h3 { font-size: 20px; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body p { color: var(--muted); font-size: 14.5px; }
.card-meta { display: grid; gap: 7px; align-items: start; margin-top: 2px; }
.card-meta strong { color: var(--navy); font-family: Manrope, Inter, sans-serif; font-size: 21px; }
.card-meta > span:not(.price-stack) { color: #758195; font-size: 12px; font-weight: 700; text-align: left; }
.view-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #E1EAF4;
  border-radius: 999px;
  background: #F8FAFC;
  color: #5B6779 !important;
  font-size: 12px;
  font-weight: 800;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.category-tile {
  --spot-x: 50%;
  --spot-y: 0%;
  min-height: 150px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(214, 226, 240, .96);
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255,122,0,.18), transparent 28%),
    linear-gradient(135deg, #FFFFFF 0%, #F8FBFF 100%);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 20px 55px -48px rgba(11,31,58,.65);
  transform: translateY(0) rotateX(0) rotateY(0);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(23,78,166,.08), transparent 38%),
    radial-gradient(circle at 90% 18%, rgba(244,180,0,.22), transparent 24%);
  transition: opacity .28s ease;
}
.category-tile::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--blue));
  transform: scaleX(.18);
  transform-origin: left center;
  transition: transform .32s ease;
}
.category-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: #EEF5FF;
  border: 1px solid #D8E7FA;
  box-shadow: 0 16px 32px -28px rgba(23,78,166,.8);
  transition: transform .32s ease, background .32s ease, color .32s ease;
}
.category-icon svg { width: 23px; height: 23px; fill: currentColor; }
.category-tile .category-name {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}
.category-tile p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
}
.category-tile em {
  width: fit-content;
  margin-top: 4px;
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
  transition: color .28s ease, opacity .28s ease, transform .28s ease;
}
.category-tile:hover,
.category-tile:focus-visible {
  border-color: rgba(255,122,0,.48);
  box-shadow: 0 30px 75px -46px rgba(11,31,58,.78);
  transform: translateY(-7px);
}
.category-tile:hover::before,
.category-tile:focus-visible::before { opacity: 1; }
.category-tile:hover::after,
.category-tile:focus-visible::after { transform: scaleX(1); }
.category-tile:hover .category-icon,
.category-tile:focus-visible .category-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0B1F3A);
  transform: translateY(-3px) rotate(-4deg) scale(1.04);
}
.category-tile:hover em,
.category-tile:focus-visible em {
  color: var(--orange);
  opacity: 1;
  transform: translateX(3px);
}

.band-navy { background: var(--navy); color: #C7D3E6; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--gold); }
.value-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.value-grid h2 { font-size: clamp(28px, 3.8vw, 48px); margin-top: 10px; }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.benefit { display: flex; align-items: flex-start; gap: 11px; color: #E5EEF8; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px; font-weight: 700; }
.benefit span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 9px; }

.author-grid, .product-hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.author-photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy);
  border: 1px solid rgba(244, 180, 0, .34);
  box-shadow: var(--shadow);
  --author-border-angle: 0deg;
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.author-photo::before,
.author-photo::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  pointer-events: none;
  z-index: 1;
}
.author-photo::before {
  bottom: 0;
  height: 16px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--blue));
  box-shadow: 0 -16px 34px rgba(255, 122, 0, .18);
}
.author-photo::after {
  inset: 0;
  left: 0;
  right: 0;
  border-radius: inherit;
  padding: 3px;
  opacity: 0;
  background:
    conic-gradient(from var(--author-border-angle), transparent 0 70%, var(--orange) 77%, var(--gold) 82%, transparent 90%),
    linear-gradient(var(--orange), var(--orange));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .25s ease;
}
.author-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  filter: saturate(.96) contrast(1);
  transform: scale(1);
  transition: transform .55s ease, filter .55s ease;
}
.author-photo .portrait-shine {
  display: none;
}
.author-photo:hover,
.author-photo:focus-within {
  transform: translateY(-6px);
  border-color: rgba(244, 180, 0, .72);
  box-shadow: 0 34px 80px -44px rgba(11, 31, 58, .82);
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease 1s;
}
.author-photo:hover img,
.author-photo:focus-within img {
  filter: saturate(1.1) contrast(1.05) brightness(1.03);
  transform: scale(1.035);
}
.author-photo:hover::before,
.author-photo:focus-within::before {
  box-shadow: 0 -18px 42px rgba(255, 122, 0, .28);
}
.author-photo:hover::after,
.author-photo:focus-within::after {
  opacity: 1;
  animation: authorPhotoBorderTrace 1.08s ease forwards;
}
.author-section h2 { font-size: clamp(32px, 4vw, 54px); margin: 12px 0 14px; }
.author-section h4, .author-title-line {
  margin: 0 0 18px;
  color: #174EA6;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.45;
}
.author-section .lead + .lead { margin-top: 12px; }
.author-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.author-page-hero { background: linear-gradient(135deg, #FFFFFF 0%, #F1F7FD 56%, #EAF6F4 100%); }
.author-page-photo { max-width: 430px; justify-self: center; }
.author-hero-copy h1 { font-size: clamp(42px, 6vw, 76px); margin: 12px 0 10px; }
.author-story {
  max-width: 920px;
  color: #334155;
  font-size: clamp(17px, 1.45vw, 20px);
}
.author-story p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.author-story p + p { margin-top: 22px; }
.author-story strong { color: var(--navy); }
.author-focus-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.author-focus-grid h2 { font-size: clamp(28px, 3.6vw, 48px); margin-top: 10px; }
.author-benefits .benefit { background: #fff; color: #24364F; border-color: var(--line); }
.author-benefits .benefit span { background: var(--orange); }
.author-signature {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
}
.author-page-ctas { margin-top: 0; justify-content: flex-end; }
.newsletter { padding-top: 0; }
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.newsletter h2 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0; }
.newsletter p { color: var(--muted); max-width: 62ch; }

.page-hero {
  padding: clamp(54px, 7vw, 96px) 0;
  background: linear-gradient(135deg, #FFFFFF, #EEF4FA);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); margin: 14px 0; max-width: 840px; }
.library-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244,180,0,.14) 0 1px, transparent 1px 100%) 0 0 / 105px 100%,
    radial-gradient(circle at 84% 18%, rgba(23, 78, 166, .16), transparent 30%),
    linear-gradient(135deg, #FFFFFF 0%, #F4F8FC 58%, #EDF5FC 100%);
}
.library-hero-grid,
.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}
.library-hero-copy,
.contact-hero-grid > div:first-child {
  position: relative;
  z-index: 1;
}
.library-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.library-hero-stats span,
.library-hero-card,
.contact-hero-card {
  border: 1px solid rgba(223, 232, 243, .92);
  background: rgba(255,255,255,.82);
  box-shadow: 0 24px 64px -48px rgba(11,31,58,.7);
  backdrop-filter: blur(10px);
}
.library-hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border-radius: 999px;
  padding: 9px 13px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}
.library-hero-stats strong {
  color: var(--blue);
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
}
.library-hero-card,
.contact-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
  padding: 22px;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 50% 32%, rgba(23, 78, 166, .2), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(244,248,252,.86)),
    linear-gradient(90deg, rgba(23,78,166,.08), transparent);
}
.library-hero-card {
  min-height: clamp(330px, 30vw, 430px);
  align-content: stretch;
  box-shadow: 0 34px 86px -54px rgba(11,31,58,.78);
}
.library-hero-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(23, 78, 166, .13);
  border-radius: 18px;
  pointer-events: none;
}
.library-hero-card::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 30%;
  height: 18px;
  border-radius: 50%;
  background: rgba(11,31,58,.16);
  filter: blur(16px);
}
.library-book-stack {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 245px;
}
.library-showcase-viewport {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: clamp(238px, 20vw, 292px);
  overflow: hidden;
  isolation: isolate;
}
.library-showcase-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) perspective(900px) rotateY(-7deg) scale(.96);
  transition: opacity .65s ease, transform .65s ease;
}
.library-showcase-slide.active {
  opacity: 1;
  transform: translateY(-2px) perspective(900px) rotateY(0deg) scale(1);
}
.library-book-cover {
  position: absolute;
  width: min(168px, 38%);
  max-height: 248px;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(11,31,58,.22));
  transform-origin: center bottom;
}
.library-showcase-slide .library-book-cover {
  position: absolute;
}
.library-book-cover.cover-1 {
  z-index: 3;
  width: min(238px, 52%);
  max-height: 286px;
  transform: translateY(-4px) rotate(-1deg);
}
.library-book-cover.cover-2 {
  z-index: 2;
  transform: translate(-138px, 22px) rotate(-11deg) scale(.72);
  opacity: .56;
}
.library-book-cover.cover-3 {
  z-index: 1;
  transform: translate(138px, 22px) rotate(11deg) scale(.72);
  opacity: .56;
}
.library-visual-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  align-self: end;
  padding-top: 12px;
}
.library-visual-copy small {
  color: var(--blue);
  font-family: Manrope, Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.library-hero-card span,
.contact-hero-card span {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.contact-hero-card {
  min-height: auto;
  align-content: start;
  gap: 10px;
}
.contact-hero-card span {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-hero-card strong {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.contact-hero-card p { color: var(--muted); }
.library-section { padding-top: 34px; }
.quick-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.quick-category-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid #D7E3F0;
  border-radius: 999px;
  background: #FFFFFF;
  color: #334155;
  padding: 8px 13px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 36px -34px rgba(11,31,58,.58);
}
.quick-category-strip a:hover,
.quick-category-strip a.active {
  color: #FFFFFF;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #0B1F3A);
}
.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)),
    radial-gradient(circle at 8% 0%, rgba(244,180,0,.12), transparent 32%);
  box-shadow: 0 26px 70px -52px rgba(11,31,58,.72);
  margin-bottom: 18px;
}
label { color: var(--navy); font-weight: 800; display: grid; gap: 7px; }
.form-grid {
  display: grid;
  gap: 16px;
}
.input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #D5E1EF;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  margin: 18px 0 28px;
}
.input:focus,
select:focus,
textarea:focus {
  border-color: rgba(23, 78, 166, .62);
  box-shadow: 0 0 0 4px rgba(23, 78, 166, .1);
  outline: 0;
}
.result-line > div { display: flex; align-items: baseline; gap: 7px; }
.result-line strong { color: var(--navy); font-family: Manrope, Inter, sans-serif; font-size: 24px; }
.result-line a {
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.empty-state {
  text-align: center;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.empty-state p { color: var(--muted); margin: 10px auto 22px; max-width: 46ch; }

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 22%, rgba(244,180,0,.1), transparent 28%),
    linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}
.contact-sidebar {
  display: grid;
  gap: 16px;
}
.contact-info-card,
.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px -54px rgba(11,31,58,.72);
}
.contact-info-card {
  padding: 22px;
}
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 18px 30px -22px rgba(11,31,58,.75);
  margin-bottom: 14px;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.contact-info-card h2,
.form-panel-head h2 {
  font-size: clamp(22px, 2.3vw, 32px);
  margin-bottom: 9px;
}
.contact-info-card p,
.form-panel-head p {
  color: var(--muted);
  font-size: 14.5px;
}
.contact-info-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.contact-form-panel {
  padding: clamp(22px, 4vw, 38px);
}
.form-panel-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-form {
  grid-template-columns: 1fr 1fr;
}
.contact-form .full-field,
.contact-form button {
  grid-column: 1 / -1;
}
.notice.success {
  background: #ECFDF5;
  border-color: #BBF7D0;
  border-left-color: #10B981;
  color: #065F46;
}

.product-masthead {
  padding: clamp(44px, 7vw, 94px) 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(0,137,123,.12), transparent 28%),
    linear-gradient(180deg, #FFFFFF, #F4F8FC);
  border-bottom: 1px solid var(--line);
}
.product-art {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, #071628, #143B68);
  box-shadow: var(--shadow);
}
.product-art img { width: min(320px, 78%); filter: drop-shadow(0 32px 34px rgba(0,0,0,.36)); }
.purchase-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.purchase-panel h1 { font-size: clamp(34px, 4.4vw, 58px); margin: 14px 0 10px; }
.author-line { color: var(--muted); margin: 12px 0 16px; }
.price { color: var(--navy); font-family: Manrope, Inter, sans-serif; font-size: clamp(36px, 4vw, 52px); font-weight: 800; margin: 22px 0 4px; }
.price-stack {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  line-height: 1;
  white-space: normal;
}
.price-stack .offer-price {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1em;
  font-weight: 800;
}
.price-stack .regular-price {
  color: #8A94A6;
  font-size: .56em;
  font-weight: 800;
  text-decoration: line-through;
}
.price-stack .discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: #FFF3E8;
  color: #C2410C;
  border: 1px solid #FED7AA;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}
.price-stack.compact { gap: 6px 9px; }
.price-stack.compact .offer-price { font-size: 22px; }
.price-stack.compact .regular-price { font-size: 14px; }
.price-stack.hero-price .offer-price { font-size: clamp(36px, 4vw, 52px); }
.price-stack.mobile-price .offer-price { font-size: 18px; }
.price-stack.mobile-price .regular-price { font-size: 12px; }
.price-stack.mobile-price .discount-badge { min-height: 22px; padding: 2px 7px; font-size: 10px; }
.secure-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.intro-copy { max-width: 820px; }
.intro-copy p:last-child { margin-top: 16px; color: #465366; font-size: 17px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 32px);
}
.panel.elevated { box-shadow: 0 20px 55px -48px rgba(11,31,58,.65); }
.panel h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 10px 0 18px; }
.clean-list { display: grid; gap: 12px; padding-left: 20px; color: #334155; }
.chapter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.chapter-card {
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}
.chapter-card span { display: block; color: var(--blue); font-family: Manrope, Inter, sans-serif; font-weight: 800; margin-bottom: 14px; }
.chapter-card h3 { font-size: 19px; }
.product-final { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.product-final p:not(.eyebrow) { max-width: 68ch; }

.mobile-buy { display: none; }
.notice { background: #FFFBEE; border: 1px solid #F2E3B0; border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.review-modal.open { display: flex; }
.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,22,40,.62);
  backdrop-filter: blur(5px);
}
.review-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 90px -42px rgba(7,22,40,.72);
}
.review-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #E1EAF4;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.review-dialog h2 {
  margin-top: 8px;
  padding-right: 32px;
  font-size: clamp(28px, 4vw, 40px);
}
.review-book-title {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}
.review-dialog form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.review-stars {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.review-stars button {
  width: 42px;
  height: 42px;
  border: 1px solid #FFE0BD;
  border-radius: 12px;
  background: #FFF8F0;
  color: #CBD5E1;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.review-stars button.active,
.review-stars button:hover {
  color: #F59E0B;
  background: #FFF3E8;
  border-color: #FDBA74;
}
.review-field {
  color: var(--navy);
  font-weight: 800;
}
.review-field textarea { resize: vertical; }
.review-message {
  min-height: 20px;
  color: #C2410C;
  font-size: 14px;
  font-weight: 700;
}
.review-message.success { color: #047857; }
.review-modal-open { overflow: hidden; }

.thank-header {
  position: relative;
}
.thank-page {
  min-height: calc(100vh - 77px);
  padding: clamp(42px, 6vw, 84px) 0;
  background:
    linear-gradient(90deg, rgba(244,180,0,.14) 0 1px, transparent 1px 100%) 0 0 / 88px 100%,
    linear-gradient(135deg, #FFFDF9 0%, #F3F7FC 54%, #EAF3F9 100%);
}
.thank-wrap {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 180px);
}
.thank-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,31,58,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 34px 90px -58px rgba(11,31,58,.85);
}
.success-card {
  display: grid;
  grid-template-columns: minmax(260px, .76fr) minmax(0, 1.24fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(24px, 4.8vw, 58px);
}
.thank-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 42vw, 560px);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(7,22,40,.98), rgba(20,59,104,.96));
}
.thank-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 17px;
  pointer-events: none;
}
.download-orbit {
  position: absolute;
  inset: auto 28px 34px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  filter: blur(14px);
}
.thank-art img {
  position: relative;
  z-index: 1;
  width: min(360px, 78%);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 32px rgba(0,0,0,.32));
}
.thank-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: Manrope, Inter, sans-serif;
  font-size: 24px;
  font-weight: 900;
}
.status-mark.success {
  background: #E7F8F2;
  color: #047857;
  border: 1px solid #B7E9D8;
}
.status-mark.locked {
  background: #FFF3E8;
  color: #C2410C;
  border: 1px solid #FED7AA;
}
.thank-copy h1,
.locked-card h1 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0;
}
.thank-copy .lead,
.locked-card .lead {
  max-width: 62ch;
}
.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid #DCE8F5;
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFFFF, #F7FAFD);
}
.download-panel span,
.order-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.download-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}
.download-btn {
  flex: none;
  min-height: 58px;
  padding-inline: clamp(22px, 3vw, 34px);
  font-size: 16px;
  box-shadow: 0 18px 38px -24px rgba(255,122,0,.8);
}
.order-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.order-meta div {
  min-width: 0;
  padding: 15px;
  border: 1px solid #E1EAF4;
  border-radius: 14px;
  background: rgba(255,255,255,.68);
}
.order-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  overflow-wrap: anywhere;
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
}
.thank-note {
  color: var(--muted);
  font-size: 14.5px;
}
.locked-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}
.locked-card .status-mark {
  margin: 0 auto 18px;
}
.locked-card .lead,
.locked-card .thank-note {
  margin-left: auto;
  margin-right: auto;
}
.locked-card .thank-note {
  max-width: 58ch;
  margin-top: 12px;
}
.payment-recovery-form {
  display: grid;
  gap: 12px;
  width: min(620px, 100%);
  margin: 26px auto 8px;
  padding: 18px;
  border: 1px solid #DCE8F5;
  border-radius: 18px;
  background: linear-gradient(135deg, #FFFFFF, #F7FAFD);
  text-align: left;
}
.payment-recovery-form label {
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.payment-recovery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.payment-recovery-row .input {
  min-height: 54px;
  font-weight: 700;
}
.payment-recovery-row .btn {
  min-height: 54px;
  white-space: nowrap;
}
.thank-actions {
  justify-content: center;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 32%, rgba(23, 78, 166, .28), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(244, 180, 0, .12), transparent 28%),
    linear-gradient(180deg, #0B1F3A 0%, #071628 100%);
  color: #DDE8F7;
  border-top: 4px solid var(--gold);
  padding: 0;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.8) 26%, transparent 100%);
  pointer-events: none;
}
.footer-policy-bar {
  position: relative;
  background: rgba(5, 17, 34, .9);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-policy-bar nav {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.footer-policy-bar a {
  position: relative;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 18px 20px;
}
.footer-policy-bar a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.24);
  transform: translateY(-50%);
}
.footer-policy-bar a:hover { color: #FFE4A3; }
.footer-inner {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 1.08fr) minmax(220px, .72fr) minmax(280px, .9fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: 46px 0 38px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(244,180,0,.8);
  box-shadow: 0 18px 36px -28px rgba(0,0,0,.85);
}
.footer-brand strong {
  display: block;
  color: #FFFFFF;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
}
.footer-brand small {
  display: block;
  margin-top: 10px;
  color: #FFD958;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-tagline {
  color: #FFD958;
  font-family: Manrope, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 12px;
  padding-left: 88px;
}
.footer-info-card {
  min-height: 112px;
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: clamp(22px, 3vw, 32px);
}
.footer h3 {
  color: #FFD958;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin: 0 0 14px;
}
.footer p {
  max-width: 58ch;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.65;
}
.footer p + p { margin-top: 7px; }
.footer strong { color: #FFFFFF; }
.footer a {
  color: #FFFFFF;
  text-decoration-color: rgba(255, 217, 88, .72);
  text-underline-offset: 4px;
  font-size: 14px;
  font-weight: 800;
}
.footer a:hover { color: #FFE4A3; }
.footer-counter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.footer-counter span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(255, 217, 88, .28);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #DDE8F7;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}
.footer-counter strong {
  color: #FFD958;
  font-family: Manrope, Inter, sans-serif;
  font-size: 18px;
}
.footer-counter .portal-label {
  color: #DDE8F7;
  border: 0;
  background: transparent;
  letter-spacing: .02em;
}
.footer-bottom {
  position: relative;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #AFC2DC;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@keyframes floatBook { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@property --author-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes authorPhotoBorderTrace {
  0% {
    --author-border-angle: 0deg;
    background:
      conic-gradient(from var(--author-border-angle), transparent 0 70%, var(--orange) 77%, var(--gold) 82%, transparent 90%),
      linear-gradient(var(--orange), var(--orange));
  }
  82% {
    --author-border-angle: 360deg;
    background:
      conic-gradient(from var(--author-border-angle), transparent 0 70%, var(--orange) 77%, var(--gold) 82%, transparent 90%),
      linear-gradient(var(--orange), var(--orange));
  }
  100% {
    --author-border-angle: 360deg;
    background:
      conic-gradient(from var(--author-border-angle), var(--orange), var(--gold), var(--orange)),
      linear-gradient(var(--orange), var(--orange));
  }
}

@media (max-width: 1080px) {
  .site-header { gap: 14px; }
  .nav { gap: 4px; }
  .nav a {
    font-size: 13px;
    padding-right: 10px;
  }
  .nav-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 920px) {
  .hero-grid, .hero-slide, .spotlight, .author-grid, .author-hero-grid, .author-focus-grid, .product-hero, .value-grid, .content-grid, .library-hero-grid, .contact-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-slide {
    grid-template-areas:
      "copy"
      "image"
      "details";
  }
  .hero-slider-viewport { min-height: clamp(820px, 126vw, 980px); }
  .hero-showcase, .spotlight-media, .product-art { min-height: auto; padding: 34px 0; }
  .book-stage { width: min(360px, 88vw); }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .library-hero-card { min-height: 330px; }
  .library-book-stack { min-height: 220px; }
  .contact-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-list { grid-template-columns: 1fr; }
  .product-final, .newsletter-inner { display: grid; }
  .footer-policy-bar nav { justify-content: flex-start; }
  .footer-policy-bar a { padding: 14px 14px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-info-card {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    padding-left: 0;
    padding-top: 22px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-counter { justify-content: flex-start; }
  .success-card {
    grid-template-columns: 1fr;
  }
  .thank-art {
    min-height: 390px;
  }
  .thank-art img {
    max-height: 360px;
  }
  .order-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header { align-items: center; flex-wrap: wrap; padding: 11px 14px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 42px -34px rgba(11, 31, 58, .7);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 15px;
    justify-content: flex-start;
    background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
    border-color: rgba(223, 232, 243, .78);
  }
  .nav a::after { display: none; }
  .nav a:hover {
    background: #FFFFFF;
    transform: translateY(0);
  }
  .nav-icon {
    width: 34px;
    height: 34px;
  }
  .nav-icon svg {
    width: 18px;
    height: 18px;
  }
  .brand small { display: none; }
  .footer-inner { padding: 34px 0 28px; }
  .footer-brand { align-items: flex-start; }
  .footer-brand img { width: 58px; height: 58px; }
  .footer-brand strong { font-size: 24px; }
  .footer-tagline { padding-left: 0; font-size: 12px; line-height: 1.6; }
  .footer-policy-bar a {
    width: 50%;
    padding: 12px 10px;
    font-size: 12px;
  }
  .footer-policy-bar a + a::before { display: none; }
  .footer-counter span { width: auto; }
  .footer-counter .portal-label { width: 100%; padding-left: 0; }
  .hero { padding-top: 46px; }
  .library-hero-stats,
  .quick-category-strip {
    gap: 8px;
  }
  .library-hero-stats span,
  .quick-category-strip a {
    font-size: 12px;
  }
  .contact-sidebar,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form button {
    width: 100%;
  }
  .hero h1 { font-size: clamp(36px, 12vw, 50px); }
  .featured-hero .hero-copy { text-align: center; }
  .featured-hero .hero-details { text-align: center; }
  .featured-hero .hero-badge-row,
  .featured-hero .hero-benefits li,
  .featured-hero .hero-ctas,
  .featured-hero .price-stack { justify-content: center; }
  .hero-slider-viewport { min-height: clamp(860px, 250vw, 1080px); }
  .hero-slide { align-content: start; gap: 8px; }
  .hero-benefits { text-align: left; width: min(420px, 100%); margin-left: auto; margin-right: auto; }
  .hero-note { position: static; margin-top: 16px; max-width: none; }
  .filter-panel { grid-template-columns: 1fr; padding: 14px; }
  .result-line {
    align-items: flex-start;
    flex-direction: column;
  }
  .library-hero-card { min-height: 310px; }
  .library-book-stack { min-height: 205px; }
  .library-showcase-viewport { min-height: 205px; }
  .library-book-cover.cover-1 { width: min(188px, 56%); max-height: 220px; }
  .library-book-cover.cover-2 { transform: translate(-92px, 18px) rotate(-10deg) scale(.66); opacity: .46; }
  .library-book-cover.cover-3 { transform: translate(92px, 18px) rotate(10deg) scale(.66); opacity: .46; }
  .contact-info-card,
  .contact-form-panel {
    border-radius: 18px;
  }
  .spotlight, .purchase-panel, .newsletter-inner { border-radius: 18px; }
  .spotlight-details { grid-template-columns: 1fr; }
  .cover-link { min-height: 260px; }
  .card-actions .btn, .full-mobile { width: 100%; }
  .mobile-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,.98);
    border-top: 1px solid #DDE5F0;
    box-shadow: 0 -12px 28px rgba(11,31,58,.12);
  }
  .mobile-buy .price-stack { margin-right: auto; gap: 3px 7px; }
  .mobile-buy strong { color: var(--navy); font-family: Manrope, Inter, sans-serif; }
  body.has-mobile-buy { padding-bottom: 76px; }
  .thank-page {
    padding: 24px 0 42px;
  }
  .thank-wrap {
    min-height: auto;
  }
  .success-card,
  .locked-card {
    border-radius: 20px;
    padding: 20px;
  }
  .thank-art {
    min-height: 320px;
    border-radius: 16px;
  }
  .thank-art img {
    width: min(270px, 82%);
    max-height: 300px;
  }
  .status-row {
    align-items: flex-start;
  }
  .status-mark {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .download-panel {
    display: grid;
  }
  .download-btn {
    width: 100%;
  }
  .order-meta {
    grid-template-columns: 1fr;
  }
  .payment-recovery-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .brand strong { font-size: 13px; }
  .brand img { width: 42px; height: 42px; }
  .btn { width: 100%; }
  .hero-ctas { width: 100%; }
  .hero-slider-viewport { min-height: 1040px; }
  .hero-showcase { padding: 20px 0; }
  .book-stage { width: min(320px, 86vw); }
  .card-meta > span:not(.price-stack) { text-align: left; }
  .author-page-ctas { justify-content: stretch; width: 100%; }
}

@media (max-width: 920px) {
  .author-publication-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .author-editorial {
    min-height: clamp(620px, calc(100svh - 148px), 760px);
    text-align: center;
    align-items: center;
    padding: 34px 0;
  }
  .author-editorial::before {
    margin-left: auto;
    margin-right: auto;
  }
  .author-editorial .lead {
    max-width: 48ch;
  }
  .author-editorial .hero-ctas {
    justify-content: center;
    order: 5;
  }
  .author-portrait-wash {
    position: absolute;
    right: 50%;
    bottom: 18px;
    order: initial;
    z-index: -1;
    width: min(430px, 62vw);
    margin-top: 0;
    opacity: .15;
    filter: grayscale(1) sepia(.18);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transform: translateX(50%);
  }
  .author-publication-hero .hero-slider-viewport {
    height: 100%;
    min-height: 0;
  }
  .featured-publication-panel {
    width: min(620px, 100%);
    height: 820px;
    margin: 0 auto;
  }
  .editorial-controls {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .author-publication-hero {
    padding-top: 38px;
  }
  .author-editorial {
    min-height: clamp(560px, calc(100svh - 126px), 700px);
    padding: 28px 0;
  }
  .author-editorial h1 {
    font-size: clamp(40px, 11vw, 58px);
  }
  .author-hero-line {
    font-size: 22px;
  }
  .author-editorial::before,
  .author-quote {
    display: none;
  }
  .author-editorial .lead {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.6;
  }
  .author-portrait-wash {
    right: 50%;
    bottom: 18px;
    width: min(360px, 82vw);
    opacity: .13;
    transform: translateX(50%);
  }
  .author-editorial .hero-ctas {
    margin-top: 20px;
  }
  .author-publication-hero .hero-slider-viewport {
    height: 100%;
    min-height: 0;
  }
  .publication-art {
    flex-basis: 350px;
    min-height: 0;
  }
  .publication-art .book-stage {
    --publication-book-max: 350px;
    width: min(380px, 88%);
    height: min(100%, 350px);
    max-height: 350px;
  }
  .publication-copy,
  .publication-kicker {
    text-align: center;
    justify-content: center;
  }
  .publication-copy .price-stack,
  .publication-ctas {
    justify-content: center;
  }
  .publication-ctas .btn {
    width: 100%;
  }
  .publication-copy h2,
  .publication-slide.title-md .publication-copy h2 {
    --fit-font: 24px;
    font-size: var(--fit-font);
  }
  .publication-slide.title-lg .publication-copy h2 {
    --fit-font: 21px;
    font-size: var(--fit-font);
  }
  .publication-slide.title-xl .publication-copy h2 {
    --fit-font: 18px;
    font-size: var(--fit-font);
  }
  .publication-copy p,
  .publication-slide.subtitle-lg .publication-copy p,
  .publication-slide.subtitle-xl .publication-copy p {
    --fit-font: 13px;
    font-size: var(--fit-font);
    line-height: 1.34;
  }
}

@media (max-width: 430px) {
  .author-publication-hero .hero-slider-viewport {
    height: 100%;
    min-height: 0;
  }
  .author-editorial h1 {
    font-size: 40px;
  }
  .featured-publication-panel {
    height: 780px;
    padding: 14px;
    border-radius: 18px;
  }
  .publication-art {
    flex-basis: 320px;
    min-height: 0;
  }
  .publication-art .book-stage {
    --publication-book-max: 320px;
    width: min(330px, 90%);
    height: min(100%, 320px);
    max-height: 320px;
  }
  .publication-copy {
    gap: 7px;
  }
  .publication-copy h2,
  .publication-slide.title-md .publication-copy h2 {
    --fit-font: 22px;
    font-size: var(--fit-font);
  }
  .publication-slide.title-lg .publication-copy h2 {
    --fit-font: 19px;
    font-size: var(--fit-font);
  }
  .publication-slide.title-xl .publication-copy h2 {
    --fit-font: 17px;
    font-size: var(--fit-font);
  }
  .publication-copy .price-stack.hero-price .offer-price {
    font-size: 30px;
  }
  .publication-ctas {
    gap: 8px;
    margin-top: 4px;
  }
}

.account-hero,
.account-dashboard {
  background:
    linear-gradient(90deg, rgba(244,180,0,.16) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(23,78,166,.14), transparent 34%),
    linear-gradient(135deg, #FFFFFF 0%, #F4F8FD 58%, #EAF3FF 100%);
  background-size: 105px 100%, auto, auto;
}
.account-hero { padding: clamp(48px, 7vw, 86px) 0; }
.account-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.account-shell.compact { grid-template-columns: minmax(0, .92fr) minmax(340px, 460px); }
.account-copy h1,
.account-heading h1 {
  margin: 12px 0 16px;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -.02em;
}
.account-copy .lead { max-width: 680px; color: #39516F; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; }
.account-card {
  position: relative;
  border: 1px solid rgba(23,78,166,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 34px 86px -58px rgba(11,31,58,.78);
}
.account-form {
  display: grid;
  gap: 15px;
  padding: clamp(22px, 3vw, 34px);
}
.account-form h2,
.purchase-history h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
}
.account-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-alert,
.form-success {
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
}
.form-alert { background: #FEECEC; color: #991B1B; }
.form-success { background: #EAF7EE; color: #166534; }
.account-switch { margin: 0; color: var(--muted); font-weight: 700; }
.account-dashboard { padding: clamp(36px, 6vw, 68px) 0; }
.account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.account-heading h1 { font-size: clamp(36px, 4.5vw, 58px); }
.account-heading p { margin: 0; color: var(--muted); font-size: 18px; }
.account-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: 22px; align-items: start; }
.purchase-history { padding: clamp(22px, 3vw, 34px); }
.purchase-list { display: grid; gap: 14px; }
.purchase-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #DCE7F4;
  border-radius: 18px;
  background: #FBFDFF;
}
.purchase-item img {
  width: 72px;
  height: 96px;
  object-fit: contain;
  border-radius: 10px;
  background: #EEF4FA;
}
.purchase-item h3 { margin: 0 0 7px; color: var(--navy); font-family: Manrope, Inter, sans-serif; font-size: 18px; }
.purchase-item p { margin: 4px 0; color: var(--muted); line-height: 1.35; }
.recovered-book {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #DCE7F4;
  border-radius: 16px;
  background: #FBFDFF;
  padding: 12px;
}
.recovered-book img { width: 58px; height: 76px; object-fit: contain; border-radius: 8px; background: #EEF4FA; }
.recovered-book strong,
.recovered-book span { display: block; }
.recovered-book strong { color: var(--navy); font-family: Manrope, Inter, sans-serif; }
.recovered-book span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.empty-state.compact { padding: 24px; text-align: center; }

@media (max-width: 900px) {
  .account-shell,
  .account-shell.compact,
  .account-grid { grid-template-columns: 1fr; }
  .account-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .form-two,
  .purchase-item { grid-template-columns: 1fr; }
  .purchase-item img { width: 96px; height: 126px; }
  .purchase-item .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide .book-stage,
  .hero-dots button,
  .author-photo,
  .author-photo img {
    transition: none;
  }
  .book-stage img {
    animation: none;
  }
  .author-photo:hover::after,
  .author-photo:focus-within::after {
    animation: none;
  }
}
