:root {
  --navy: #071a33;
  --navy-2: #0d294f;
  --blue: #254c73;
  --gold: #c99a38;
  --gold-2: #f4dd9c;
  --ink: #182033;
  --muted: #657084;
  --line: #e6e9ef;
  --paper: #ffffff;
  --soft: #f7f1e6;
  --shadow: 0 24px 70px rgba(7, 26, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: white;
  background: var(--blue);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 4px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 26, 51, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  flex: 0 0 74px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.68rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--navy);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--navy);
  background: #f3ead7;
}

.nav-links a.nav-store {
  min-height: 44px;
  margin-left: 8px;
  padding: 0 20px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(201, 154, 56, 0.24);
  font-weight: 900;
}

.nav-links a.nav-store:hover,
.nav-links a.nav-store:focus-visible,
.nav-links a.nav-store.active {
  color: var(--navy);
  background: linear-gradient(135deg, #f8e9b8, #d5a646);
  box-shadow: 0 12px 28px rgba(201, 154, 56, 0.34);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.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;
}

.hero {
  overflow: hidden;
  color: white;
  background:
    linear-gradient(115deg, rgba(7, 26, 51, 0.97), rgba(13, 41, 79, 0.88)),
    radial-gradient(circle at 82% 18%, rgba(201, 154, 56, 0.28), transparent 32%),
    var(--navy);
}

.hero-grid {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 52px;
  align-items: center;
  padding-block: 70px;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  max-width: 820px;
}

.hero h1 {
  color: white;
}

.lead {
  margin: 24px 0 0;
  max-width: 660px;
  color: #d8e0ea;
  font-size: 1.18rem;
}

.page-hero .lead,
.mission p,
.prose p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.36);
}

.button.outline {
  color: var(--navy);
  background: white;
  border-color: rgba(7, 26, 51, 0.18);
}

.button.outline:hover,
.button.outline:focus-visible {
  border-color: rgba(201, 154, 56, 0.72);
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.1);
}

.button:focus-visible,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(201, 154, 56, 0.52);
  outline-offset: 3px;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  align-self: center;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(244, 221, 156, 0.76), rgba(255, 255, 255, 0.08));
  border-radius: 12px;
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
}

.hero-image-card p {
  margin: 0;
  padding: 10px 14px;
  color: #5d6770;
  background: white;
  font-size: 0.72rem;
  line-height: 1.4;
}

.wave-divider {
  height: 0;
  margin-top: 0;
  background: var(--paper);
}

.section {
  padding-block: 92px;
}

.soft-bg {
  background: var(--soft);
}

.mission {
  text-align: center;
}

.mission .eyebrow {
  margin-bottom: 28px;
}

.mission h2,
.section-heading h2,
.newsletter h2,
.two-column h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.mission p {
  margin: 24px auto 0;
  max-width: 720px;
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.book-grid,
.testimonial-grid,
.post-grid,
.value-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog {
  grid-template-columns: 1fr;
  gap: 28px;
}

.catalog .book-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: 32px;
  padding: 24px;
}

.catalog .book-cover {
  order: 2;
}

.catalog .book-cover {
  min-height: 320px;
}

.catalog-copy {
  order: 1;
  max-width: 680px;
}

.catalog-list {
  display: grid;
  gap: 34px;
}

.catalog-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 38px;
  align-items: center;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.08);
}

.catalog-gallery {
  order: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.catalog-main-image,
.catalog-supporting-images figure {
  margin: 0;
  border-radius: 6px;
  border: 1px solid rgba(7, 26, 51, 0.08);
  box-shadow: 0 14px 30px rgba(7, 26, 51, 0.12);
}

.catalog-gallery img {
  cursor: zoom-in;
}

.catalog-main-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 16px;
  overflow: hidden;
}

.book-cover-shell {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  max-height: 400px;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.book-cover-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.18) 48%, rgba(7, 26, 51, 0.16));
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0;
  transform: translate(14px, -14px) rotate(1deg);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.catalog-main-image:hover .book-cover-shell,
.catalog-main-image:focus-within .book-cover-shell {
  transform: translateY(-4px) rotate(0.35deg);
  filter: drop-shadow(0 18px 24px rgba(7, 26, 51, 0.22));
}

.catalog-main-image:hover .book-cover-shell::after,
.catalog-main-image:focus-within .book-cover-shell::after {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

.sale-sticker {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 78px;
  padding: 12px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(7, 26, 51, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.corner-sale-sticker {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 7px 11px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(7, 26, 51, 0.16);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-feature-compact .catalog-main-image {
  min-height: 310px;
}

.catalog-feature-compact .catalog-main-image img {
  max-height: 305px;
}

.catalog-feature-compact {
  gap: 28px;
  padding-block: 24px;
}

.catalog-feature-compact .catalog-supporting-images figure {
  min-height: 105px;
}

.publisher-comment p {
  font-size: 0.94rem;
}

.book-video {
  margin-top: 22px;
  padding: 14px;
  background: #fbf8ef;
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 26, 51, 0.08);
}

.book-video .eyebrow {
  margin-bottom: 10px;
}

.book-video video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: 6px;
}

.book-audio {
  margin-top: 24px;
  padding: 18px;
  background: #fbf8ef;
  border: 1px solid rgba(201, 154, 56, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 26, 51, 0.08);
}

.book-audio .eyebrow {
  margin-bottom: 6px;
}

.book-audio h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.book-audio audio {
  width: 100%;
  display: block;
}

.catalog-title-placeholder {
  flex-direction: column;
  gap: 14px;
  color: white;
  text-align: center;
}

.catalog-title-placeholder span {
  max-width: 260px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.95;
}

.catalog-title-placeholder small {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-main-image img,
.catalog-supporting-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.catalog-main-image img {
  max-height: 400px;
}

.catalog-feature-compact .book-cover-shell {
  max-height: 305px;
}

.catalog-supporting-images {
  display: grid;
  gap: 12px;
}

.catalog-gallery-featured {
  grid-template-columns: 1fr;
}

.catalog-gallery-featured .catalog-supporting-images {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-gallery-featured .catalog-main-image {
  min-height: 390px;
}

.catalog-gallery-featured .catalog-main-image img {
  max-height: 360px;
}

.catalog-gallery-featured .book-cover-shell {
  max-height: 360px;
}

.catalog-supporting-images figure {
  position: relative;
  min-height: 130px;
  padding: 10px;
  background: #fbf8ef;
  overflow: hidden;
}

.catalog-supporting-images figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-placeholder {
  display: grid;
  place-items: center;
  color: rgba(7, 26, 51, 0.62);
  background:
    linear-gradient(135deg, rgba(244, 221, 156, 0.58), rgba(255, 255, 255, 0.88)),
    #fbf8ef;
}

.preview-placeholder span {
  max-width: 110px;
  color: rgba(7, 26, 51, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.review-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  color: var(--navy);
  background: linear-gradient(135deg, #fffaf0, #f4eddc);
}

.review-placeholder span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-placeholder p {
  margin: 0;
  color: rgba(7, 26, 51, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  line-height: 1.25;
}

.featured-book-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin-inline: auto;
}

.book-card,
.post-card,
.category-card,
.value-grid article,
.contact-form,
.contact-card,
.testimonial-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.08);
}

.lift-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.lift-card:hover,
.lift-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 154, 56, 0.5);
  box-shadow: var(--shadow);
}

.book-card {
  padding: 18px;
}

.book-cover {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px;
  border-radius: 6px;
  box-shadow: inset 10px 0 0 rgba(255, 255, 255, 0.16), 0 18px 30px rgba(7, 26, 51, 0.16);
}

.book-cover span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.25rem;
  line-height: 1;
}

.book-cover small {
  max-width: 180px;
  font-weight: 700;
}

.cover-image {
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.cover-image img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 14px 26px rgba(7, 26, 51, 0.16);
}

.cover-spread {
  flex-direction: row;
  gap: 10px;
}

.cover-spread img {
  width: calc(50% - 5px);
}

.featured-cover {
  min-height: 330px;
  padding: 8px;
}

.featured-cover img {
  max-height: 360px;
}

.featured-book-amber .book-type { margin-top: 20px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.card-link span { color: var(--gold); transition: transform 0.2s ease; }
.card-link:hover span, .card-link:focus-visible span { transform: translateX(4px); }

.cover-gold {
  color: var(--navy);
  background: linear-gradient(145deg, #f9e8aa, #c99a38);
}

.cover-navy {
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--navy));
}

.cover-white {
  color: var(--navy);
  background: linear-gradient(145deg, white, #ece8df);
}

.cover-blue {
  color: white;
  background: linear-gradient(145deg, #406c98, #12355c);
}

.book-card h3,
.book-card h2 {
  margin-top: 22px;
  font-size: 1.8rem;
}

.catalog-copy h2 {
  margin-top: 0;
}

.catalog-feature .button {
  margin-top: 18px;
}

.catalog-feature .catalog-copy {
  order: 1;
}

.book-card .button {
  margin-top: 12px;
}

.shop-book {
  align-content: start;
}

.catalog .shop-book {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.catalog .shop-book .book-cover {
  order: 0;
  width: 100%;
  min-height: 0;
  height: 340px;
  margin-bottom: 18px;
}

.catalog .shop-book .cover-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.shop-actions .button {
  margin-top: 0;
}

.shop-link-needed {
  position: relative;
}

.book-type,
.post-meta {
  margin: 20px 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.category-card {
  display: block;
  padding: 30px;
  text-decoration: none;
}

.category-card span {
  color: var(--gold);
  font-weight: 900;
}

.category-card h3,
.post-card h3 {
  font-size: 2rem;
}

.book-card p,
.post-card p,
.category-card p,
.value-grid p,
.testimonial-grid blockquote,
.contact-card p {
  color: var(--muted);
}

.scripture {
  color: white;
  background: linear-gradient(rgba(7, 26, 51, 0.92), rgba(7, 26, 51, 0.92)), var(--navy);
}

.scripture-inner {
  padding-block: 94px;
  text-align: center;
}

.scripture blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 6vw, 5.1rem);
  line-height: 1.04;
}

.testimonial-grid figure {
  padding: 28px;
}

.testimonial-grid blockquote {
  margin: 0;
  font-size: 1.02rem;
}

.testimonial-grid figcaption {
  margin-top: 20px;
  color: var(--navy);
  font-weight: 800;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 42px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.newsletter h2 {
  color: white;
}

.signup-form label,
.contact-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.signup-form label {
  color: white;
}

.signup-form div {
  display: flex;
  gap: 10px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status { min-height: 1.5em; margin: 12px 0 0; color: var(--gold-2); font-weight: 800; }
.contact-form .form-status { color: var(--navy); }

.site-footer {
  color: #d7dfeb;
  background: #061426;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.8fr;
  gap: 44px;
  padding-block: 58px;
}

.footer-brand strong {
  color: white;
}

.footer-brand small,
.site-footer p {
  color: #aeb9c8;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: white;
  font-family: Lato, sans-serif;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #d7dfeb;
  text-decoration: none;
}

.copyright {
  padding: 20px 0 28px;
  color: #9ca9bb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.page-hero {
  padding-block: 92px 76px;
  background: linear-gradient(180deg, #f8f6f0, white);
  text-align: center;
}

.page-hero .lead {
  margin-inline: auto;
}

.authors-hero .lead {
  max-width: 760px;
  color: #26364a;
  font-size: 1.34rem;
  line-height: 1.75;
  font-weight: 700;
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.08);
}

.text-only-panel {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.feature-panel + .feature-panel {
  margin-top: 28px;
}

.feature-panel.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.feature-panel.reverse .feature-media {
  order: 2;
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  background: #f4efe5;
}

.feature-media img,
.feature-media video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-copy h2 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
}

.feature-copy p {
  color: var(--muted);
}

.detail-list,
.note-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.note-list li {
  padding: 14px 16px;
  color: var(--ink);
  background: #fbf8f0;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--navy);
  background: #f3ead7;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
}

.prose p:first-child {
  margin-top: 0;
}

.value-grid article,
.post-card {
  padding: 30px;
}

.author-image-slot {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: -6px -6px 22px;
  background: linear-gradient(135deg, #fffaf0, #f1eadc);
  border: 1px dashed rgba(201, 154, 56, 0.45);
  border-radius: 6px;
  overflow: hidden;
}

.author-image-slot span {
  color: rgba(7, 26, 51, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-image-contain img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.author-profiles {
  display: grid;
  gap: 34px;
}

.author-profile {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.08);
}

.author-profile .author-image-slot {
  min-height: 340px;
  margin: 0;
}

.author-portrait h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-align: center;
}

.author-biography p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.submissions-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  background: #fbf8f0;
  border: 1px solid rgba(201, 154, 56, 0.28);
  border-radius: 8px;
}

.submissions-image {
  overflow: hidden;
  border-radius: 6px;
}

.submissions-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.submissions-panel h2 { font-size: clamp(2rem, 3vw, 3rem); }
.submissions-panel p:not(.eyebrow) { color: var(--muted); }

.value-grid span,
.post-meta {
  color: var(--gold);
  font-weight: 900;
}

.value-grid h3,
.post-card h2 {
  margin-top: 12px;
  font-size: 2rem;
}

.contact-form {
  padding: 30px;
}

.contact-form label:not(:first-child) {
  margin-top: 18px;
}

.contact-form button {
  margin-top: 22px;
}

.contact-card {
  align-self: start;
  padding: 34px;
}

.contact-card h2 {
  margin-bottom: 22px;
  font-size: 2.4rem;
}

.contact-card .note-list {
  margin-top: 26px;
}

@media (max-width: 940px) {
  .hero-grid,
  .newsletter-panel,
  .feature-panel,
  .feature-panel.reverse,
  .catalog-feature,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .catalog-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.55fr);
  }

  .catalog-gallery-featured {
    grid-template-columns: 1fr;
  }

  .catalog-gallery-featured .catalog-supporting-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-panel.reverse .feature-media {
    order: 0;
  }

  .hero-grid {
    min-height: 0;
  }

  .book-grid,
  .testimonial-grid,
  .post-grid,
  .value-grid,
  .category-grid,
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .author-profile { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); gap: 28px; }
}

@media (min-width: 641px) and (max-width: 940px) {
  .nav {
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-block: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .nav-links a {
    padding: 0 10px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 90px;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .brand strong {
    font-size: 1.24rem;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 90px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a { width: 100%; }

  .nav-links {
    top: 90px;
  }

  .hero-grid,
  .section,
  .page-hero {
    padding-block: 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.12rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section-heading,
  .signup-form div {
    display: block;
  }

  .section-heading .text-link {
    display: inline-block;
    margin-top: 18px;
  }

  .book-grid,
  .testimonial-grid,
  .post-grid,
  .value-grid,
  .category-grid,
  .catalog,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .featured-book-list { grid-template-columns: 1fr; }

  .author-profile,
  .submissions-panel { grid-template-columns: 1fr; padding: 20px; }

  .author-profile .author-image-slot { min-height: 300px; }

  .catalog .book-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .catalog-feature {
    padding: 20px;
  }

  .catalog-gallery {
    grid-template-columns: 1fr;
  }

  .catalog-main-image {
    min-height: 320px;
  }

  .catalog-supporting-images {
    grid-template-columns: 1fr;
  }

  .catalog-supporting-images figure {
    min-height: 150px;
  }

  .book-cover {
    min-height: 250px;
  }

  .newsletter-panel {
    padding: 28px 20px;
  }

  .feature-panel {
    padding: 18px;
  }

.signup-form button {
    width: 100%;
    margin-top: 10px;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 26, 51, 0.88);
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--navy);
  background: white;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 900;
}

.lightbox-close {
  top: 22px;
  right: 22px;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: min(90vw, 720px);
  padding: 8px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 640px) {
  .image-lightbox {
    padding: 18px;
  }

  .lightbox-button {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}
