:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #0d0d0d;
  --panel-raised: #12110e;
  --white: #ffffff;
  --muted: #bdb9af;
  --gold: #d5ad53;
  --gold-light: #f1d58c;
  --gold-deep: #7d5d20;
  --border: #29251c;
  --serif: Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(213, 173, 83, 0.07), transparent 24rem),
    var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--white);
  color: #000;
  padding: 0.7rem 1rem;
  border-radius: 0.35rem;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
  padding: 0.75rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(213, 173, 83, 0.18);
  background: rgba(5, 5, 5, 0.93);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.brand img,
.footer-brand img {
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.3rem);
  color: #ddd8cb;
  font-size: 0.95rem;
}

nav a {
  padding: 0.7rem 0;
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
}

.hero,
.books-section,
.daily-section,
.reference-section,
.about-section,
.coming-soon-section,
.site-footer {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  min-height: calc(100vh - 5rem);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.hero-copy {
  max-width: 43rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6.3vw, 5.7rem);
  letter-spacing: -0.035em;
}

.hero-lede {
  max-width: 39rem;
  margin: 0;
  color: #d4d0c7;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 0.35rem;
  font-size: 0.95rem;
  font-weight: 720;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #161006;
}

.button-secondary {
  background: transparent;
  color: var(--gold-light);
}

.launch-note {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.scripture-card {
  position: relative;
  display: flex;
  width: min(100%, 26rem);
  margin: 0 auto;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #332a18;
  border-radius: 0.65rem;
  background: #000;
  box-shadow: 0 2.3rem 5rem rgba(0, 0, 0, 0.58), 0 0 4rem rgba(213, 173, 83, 0.05);
}

.card-ark {
  position: absolute;
  top: 1.25rem;
  right: 5.2%;
  width: 16%;
  height: auto;
}

.card-copy {
  padding: 10% 7.3% 8%;
}

.card-copy h2 {
  max-width: 72%;
  margin-bottom: 8%;
  font-family: var(--sans);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.card-copy p {
  margin: 0 0 5%;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 2.25vw, 1.48rem);
  font-weight: 400;
  line-height: 1.38;
}

.card-copy p:last-child {
  margin: 0;
}

.card-copy span {
  white-space: nowrap;
}

.scripture-card figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.books-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem 5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
}

.section-heading h2,
.daily-section h2,
.about-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
  letter-spacing: -0.025em;
}

.section-copy {
  align-self: end;
}

.section-copy p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
}

.section-copy p + p {
  margin-top: 1rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.book-card {
  grid-column: span 4;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: linear-gradient(155deg, var(--panel-raised), var(--panel));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.book-card:hover,
.book-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(213, 173, 83, 0.62);
  box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.35);
}

.book-card:nth-child(4),
.book-card:nth-child(5) {
  grid-column: span 6;
  grid-template-columns: minmax(10rem, 0.55fr) 1fr;
  grid-template-rows: 1fr;
}

.book-card > img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--border);
}

.book-card:nth-child(4) > img,
.book-card:nth-child(5) > img {
  height: 100%;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.book-details {
  display: flex;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  flex-direction: column;
}

.book-kicker {
  margin: 0 0 0.6rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.book-details h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.book-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: #eee9dc;
  font-size: 0.86rem;
  font-weight: 680;
}

.purchase-pending,
.view-details {
  color: var(--gold-light);
  text-align: right;
}

.view-details {
  white-space: nowrap;
}

.detail-body {
  min-height: 100vh;
}

.detail-main {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(5rem, 9vw, 8rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: var(--gold-light);
  font-size: 0.92rem;
  font-weight: 700;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.book-detail {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.detail-cover-wrap {
  position: sticky;
  top: 7rem;
}

.detail-cover {
  width: min(100%, 30rem);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.48);
}

.detail-content h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  margin: 0 0 2rem;
  color: #e9e3d6;
  font-size: 0.96rem;
  font-weight: 700;
}

.detail-meta span + span {
  position: relative;
  padding-left: 1.3rem;
}

.detail-meta span + span::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.detail-intro,
.detail-summary {
  max-width: 42rem;
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

.detail-intro {
  margin: 0;
  color: #ded9cf;
}

.detail-summary {
  margin: 1rem 0 0;
  color: var(--muted);
}

.detail-section {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
}

.detail-section h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.detail-section p {
  color: var(--muted);
}

.sample-version {
  margin: -0.55rem 0 0;
  color: var(--gold-light) !important;
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-category {
  margin-top: clamp(3.6rem, 7vw, 5.25rem);
}

.sample-category > h3 {
  margin-bottom: 1.25rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sample-note {
  max-width: 42rem;
  margin: 1.6rem 0 0.75rem;
  color: #ded9cf !important;
  font-family: var(--sans);
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
  line-height: 1.65;
}

.sample-category > h3 + .sample-note {
  margin-top: 0;
}

.sample-category > .sample-note:first-child {
  margin-top: 0;
}

.faith-samples .sample-passage + .sample-note {
  margin-top: 2.8rem;
}

.sample-note cite {
  color: var(--white);
}

.sample-passage {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sample-passage + .sample-passage {
  margin-top: 2.8rem;
}

.sample-passage h4 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.2;
}

.sample-passage h4 span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7em;
}

.sample-passage p {
  margin: 0;
  color: #eeeae1;
  font-family: var(--sans);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.sample-passage p + p {
  margin-top: 1.5rem;
}

.bdd-series-page .sample-passage + .sample-passage {
  margin-top: 3.6rem;
}

.bdd-series-page .sample-passage p + p {
  margin-top: 1.8rem;
}

.verse-number {
  color: inherit;
  font-family: inherit;
  font-size: 1em;
  font-weight: inherit;
}

.source-credit {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.series-book-number {
  margin: 0 0 0.55rem;
  color: var(--gold-light) !important;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.series-description,
.series-note {
  max-width: 42rem;
  color: #ded9cf !important;
  font-family: var(--sans);
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
  line-height: 1.65;
}

.series-description {
  margin: 0;
}

.series-note {
  margin: 1rem 0 0;
  color: var(--muted) !important;
}

.series-note strong {
  color: var(--white);
}

.series-sample-title {
  margin: clamp(2.2rem, 4vw, 3rem) 0 1.2rem;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.series-volume {
  display: grid;
  grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
  margin-top: clamp(4.5rem, 9vw, 8rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}

.series-cover-wrap {
  position: sticky;
  top: 7rem;
}

.series-cover {
  width: min(100%, 24rem);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.48);
}

.series-volume-content h2 {
  max-width: 18ch;
  margin-bottom: 1.3rem;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}

.series-purchase {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.series-book-action {
  margin-top: clamp(2.8rem, 5vw, 3.8rem);
}

.series-book-action .button {
  width: min(100%, 25rem);
}

.topic-list,
.reference-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li,
.reference-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.025);
  color: #d9d4ca;
}

.topic-list li::before,
.reference-list li::before {
  position: absolute;
  top: 0.88rem;
  left: 1rem;
  color: var(--gold-light);
  content: "◆";
  font-size: 0.65rem;
}

.purchase-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(213, 173, 83, 0.42);
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(213, 173, 83, 0.1), rgba(213, 173, 83, 0.025));
}

.purchase-panel p {
  margin: 0;
}

.purchase-price {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.purchase-status {
  margin-top: 0.15rem !important;
  color: var(--muted);
  font-size: 0.85rem;
}

.button-disabled {
  cursor: default;
  opacity: 0.76;
}

.daily-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--border);
}

.daily-copy {
  color: #d0ccc2;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.daily-copy strong {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.95em;
}

.social-links {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.social-links li {
  border-bottom: 1px solid var(--border);
}

.social-links li:first-child {
  border-top: 1px solid var(--border);
}

.social-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.12rem 1rem;
  min-height: 4.75rem;
  padding: 0.85rem 0.5rem;
  color: var(--white);
  font-weight: 650;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--panel-raised);
  color: var(--gold-light);
}

.social-handle {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.social-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold-light);
  font-size: 1.3rem;
}

.reference-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--border);
}

.reference-section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 4.2rem);
  letter-spacing: -0.025em;
}

.reference-list {
  display: grid;
  align-self: center;
}

.reference-item {
  display: grid;
  grid-template-columns: minmax(9rem, 0.72fr) minmax(0, 1.28fr);
  gap: 1.25rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(213, 173, 83, 0.24);
}

.reference-item:last-child {
  border-bottom: 1px solid rgba(213, 173, 83, 0.24);
}

.reference-item h3 {
  margin: 0;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.reference-item p {
  margin: 0;
  color: #d0ccc2;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(11rem, 0.45fr) 1fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-top: 1px solid var(--border);
}

.about-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(213, 173, 83, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 173, 83, 0.09), transparent 66%);
}

.about-mark img {
  width: 58%;
}

.about-section > div:last-child > p:last-child {
  max-width: 45rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.65;
}

.coming-soon-section {
  padding-block: clamp(3.75rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
}

.coming-soon-section h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.coming-soon-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.coming-soon-list h3 {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(213, 173, 83, 0.34);
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(213, 173, 83, 0.09), rgba(213, 173, 83, 0.02));
  color: var(--white);
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  line-height: 1.35;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-brand {
  color: var(--white);
  font-size: 1.15rem;
}

.site-footer > p {
  margin: 0;
}

.footer-contact {
  grid-column: 1;
  justify-self: start;
  color: var(--muted);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.footer-contact:hover,
.footer-contact:focus-visible {
  color: var(--gold-light);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr 22rem;
    gap: 3rem;
  }

  h1 {
    font-size: clamp(2.7rem, 7vw, 4.8rem);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .coming-soon-list {
    grid-template-columns: 1fr;
  }

  .book-card,
  .book-card:nth-child(4),
  .book-card:nth-child(5) {
    grid-column: span 6;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .book-card:nth-child(4) > img,
  .book-card:nth-child(5) > img {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    align-items: flex-start;
    padding-block: 0.6rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 1.12rem;
  }

  .brand img {
    width: 44px;
    height: 38px;
  }

  nav {
    gap: 1rem;
    overflow-x: auto;
    font-size: 0.82rem;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 4rem 5rem;
  }

  .hero-copy {
    text-align: left;
  }

  .scripture-card {
    width: min(100%, 24rem);
  }

  .daily-section,
  .reference-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .coming-soon-list {
    grid-template-columns: 1fr;
  }

  .book-detail,
  .series-volume {
    grid-template-columns: 1fr;
  }

  .detail-cover-wrap,
  .series-cover-wrap {
    position: static;
  }

  .detail-cover,
  .series-cover {
    width: min(100%, 23rem);
  }

  .about-mark {
    width: min(14rem, 55vw);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.65rem;
  }

  .site-header .brand {
    flex: 0 0 auto;
    margin-bottom: 0;
    gap: 0.4rem;
    white-space: nowrap;
    font-size: 0.95rem;
  }

  .site-header .brand img {
    width: 36px;
    height: 31px;
  }

  nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 0.65rem;
    font-size: 0.72rem;
  }

  .hero,
  .books-section,
  .daily-section,
  .reference-section,
  .about-section,
  .coming-soon-section,
  .site-footer {
    width: min(100% - 1.3rem, 1200px);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .reference-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .book-card,
  .book-card:nth-child(4),
  .book-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .detail-main {
    width: min(100% - 1.3rem, 1120px);
  }

  .purchase-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-panel .button {
    width: 100%;
  }

  .card-copy p {
    font-size: clamp(1.02rem, 5.1vw, 1.42rem);
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .book-card {
    transition: none;
  }
}
