:root {
  color-scheme: light;
  --paper: #fbf7ee;
  --sand: #f0e8d6;
  --ink: #202c23;
  --leaf: #324d39;
  --muted: #4e584b;
  --line: #dcd3bf;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.62 system-ui, sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a15a20; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.shell { width: min(100% - 3rem, 1160px); margin-inline: auto; }
.eyebrow {
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 3;
  padding: .65rem 1rem;
  transform: translateY(-150%);
  background: white;
}
.skip:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); }
.nav, .footer-inner, .nav-links, .brand { display: flex; align-items: center; }
.nav, .footer-inner { justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand {
  gap: .7rem;
  text-decoration: none;
  font: 600 1.18rem/1.2 var(--serif);
  white-space: nowrap;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--leaf);
}
.brand-mark::before, .brand-mark::after {
  position: absolute;
  content: "";
  background: #e9d8a7;
}
.brand-mark::before { width: 8px; height: 12px; top: 5px; left: 12px; border-radius: 95% 0; transform: rotate(13deg); }
.brand-mark::after { width: 6px; height: 8px; top: 11px; left: 7px; border-radius: 0 95%; }
.nav-links { gap: clamp(.9rem, 3vw, 2.4rem); font-size: .87rem; font-weight: 650; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: .28em; }

.hero { background: var(--sand); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 535px; }
.hero-copy { align-self: center; padding-block: 5.4rem; padding-right: 1.5rem; position: relative; z-index: 1; }
.hero h1 { margin-top: .9rem; font-size: clamp(3.8rem, 6.45vw, 6rem); line-height: .97; letter-spacing: -.075em; }
.hero h1 em { display: block; color: #426047; font-weight: 400; }
.hero-text { margin-top: 1.4rem; max-width: 36rem; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.35rem; margin-top: 1.7rem; }
.button, .text-link { display: inline-flex; justify-content: center; align-items: center; gap: .65rem; font-size: .85rem; font-weight: 750; }
.button { min-height: 45px; padding: .65rem 1rem; border-radius: 4px; text-decoration: none; }
.primary { background: var(--leaf); color: #fff9ec; }
.primary:hover { background: var(--ink); }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .28em; }
.text-link:hover { text-decoration-thickness: 2px; }
.play-icon {
  flex: none;
  display: inline-block;
  width: 0;
  height: 0;
  border-block: .36rem solid transparent;
  border-left: .55rem solid currentColor;
}
.hero-art {
  position: relative;
  min-height: 420px;
  background: radial-gradient(ellipse at 63% 61%, #f1d9a7 0%, #dfc796 39%, #c2b48b 77%);
  isolation: isolate;
  overflow: hidden;
}
.arch { position: absolute; top: 10%; left: 13%; width: 76%; height: 84%; border: 1px solid #6e76535c; border-radius: 52% 52% 0 0; }
.arch-inner { top: 15%; left: 17%; width: 68%; height: 79%; }
.hero-line { position: absolute; inset: auto 0 0; height: 19%; background: #344938; }
.hero-book { position: absolute; top: 50%; width: 44%; max-height: 70%; object-fit: fill; border-radius: 2px 4px 4px 2px; box-shadow: 2px 4px 0 #201d14, 5px 6px 0 #e0ceaa, 11px 13px 0 #5c4c2c, 19px 27px 37px #171b1170; }
.hero-core { left: 14%; transform: translateY(-50%) rotate(-10deg); z-index: 1; }
.hero-church { left: 49%; width: 39%; transform: translateY(-37%) rotate(12deg); }

.books { padding-block: clamp(3rem, 7vw, 5.9rem) clamp(2.9rem, 6vw, 4.8rem); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: .9rem 3rem; margin-bottom: 2rem; }
.section-heading > p { color: var(--muted); max-width: 29rem; }
h2 { margin-top: .43rem; font-size: clamp(2.2rem, 4.3vw, 4.25rem); letter-spacing: -.06em; line-height: 1.03; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.book { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: #fffcf5; }
.book-cover { display: grid; place-items: center; height: 265px; padding: 1.15rem; }
.core-cover { background: #d9dace; }
.church-cover { background: #ece0c3; }
.giant-cover { background: #dadfd2; }
.book-cover img { width: auto; height: min(225px, 100%); max-width: 100%; object-fit: contain; filter: drop-shadow(5px 8px 7px #28251e42); }
.book-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.3rem; }
.book-info .eyebrow { color: #52664e; }
.book h3 { margin-top: .4rem; font-size: clamp(1.55rem, 2.15vw, 2.05rem); letter-spacing: -.048em; line-height: 1.08; }
.subtitle { margin-top: .45rem; color: #3b493a; font-size: .88rem; font-weight: 650; }
.description { margin: .8rem 0 1.05rem; color: var(--muted); font-size: .94rem; }
.book-info .text-link { margin-top: auto; }
.all-books { margin-top: 1.15rem; text-align: center; }

.author { background: #eee8d9; }
.author-grid { display: grid; grid-template-columns: 1fr 1.55fr; align-items: center; gap: clamp(1.5rem, 6vw, 5.5rem); max-width: 1010px; padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.portrait { display: grid; place-items: end center; min-height: 315px; overflow: hidden; background: #c6c5a9; }
.portrait img { width: min(72%, 234px); height: auto; aspect-ratio: 234 / 305; object-fit: cover; object-position: center 23%; border-radius: 47% 47% 0 0; }
.author p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); max-width: 43rem; }
.author .text-link { margin-top: 1rem; justify-content: flex-start; }
.contact { background: #273b2d; color: #fff8e8; }
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 1.2rem 5rem; padding-block: clamp(2.7rem, 6vw, 5rem); }
.contact .eyebrow { color: #dec89c; }
.contact p:not(.eyebrow) { color: #f3eddd; max-width: 31rem; margin-bottom: 1rem; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; }
.contact-address { color: #f3eddd; font-size: .9rem; overflow-wrap: anywhere; }
.light { background: #eee0bf; color: var(--ink); }
.light:hover { background: #fff2d2; }
.footer { background: var(--paper); }
.footer small { color: var(--muted); }

@media (max-width: 940px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .hero h1 { font-size: clamp(3.35rem, 8vw, 5rem); }
  .hero-grid { min-height: 0; }
  .hero-copy { padding-block: 3.65rem; }
  .hero-book { width: 48%; }
  .hero-core { left: 9%; }
  .hero-church { left: 49%; width: 41%; }
  .book-info { padding: 1rem; }
  .book-cover { height: 235px; }
  .book-cover img { height: 195px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .nav { min-height: 66px; }
  .brand { font-size: 1rem; gap: .43rem; }
  .brand-mark { width: 23px; height: 23px; }
  .brand-mark::before { left: 10px; }
  .brand-mark::after { left: 6px; top: 10px; }
  .nav-links { gap: .7rem; font-size: .75rem; }
  .hero-grid, .section-heading, .book-grid, .author-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.8rem 0 2.1rem; }
  .hero h1 { font-size: clamp(3.3rem, 13.3vw, 5rem); }
  .hero-text { margin-top: 1rem; font-size: 1rem; }
  .actions { margin-top: 1.2rem; }
  .hero-art { min-height: clamp(280px, 86vw, 405px); }
  .hero-core { left: 14%; width: 43%; }
  .hero-church { left: 49%; width: 37%; }
  .section-heading { margin-bottom: 1.25rem; }
  .book-info { padding: 1.05rem; }
  .book h3 { font-size: 1.95rem; }
  .portrait { width: min(100%, 345px); min-height: 275px; }
  .footer-inner { min-height: 76px; flex-wrap: wrap; align-content: center; gap: .45rem 1rem; }
}

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

.commercials {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: #e2e7dc;
}
.commercials .section-heading .eyebrow { color: #435746; }
.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: .65rem 1.05rem;
}
.video-card { min-width: 0; }
.video-card-featured { grid-row: span 4; }
.video-link {
  display: flex;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
}
.video-link h3 { font-size: 1.35rem; line-height: 1.1; letter-spacing: -.035em; }
.video-link p { margin-top: .32rem; font-size: .78rem; }
.video-play {
  display: grid;
  flex: none;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #fff8e8;
  background: var(--leaf);
}
.video-play .play-icon { margin-left: 2px; }
.video-link:hover h3 { text-decoration: underline; text-underline-offset: .22em; }
.video-poster { flex-direction: column; background: #2c4332; color: #fff8e8; }
.video-covers {
  display: flex;
  flex: 1;
  min-height: 235px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.3rem;
  background: radial-gradient(ellipse at 53% 65%, #e6ce93, #b0aa80 78%);
}
.video-covers img {
  width: clamp(83px, 12vw, 138px);
  object-fit: contain;
  box-shadow: 6px 10px 15px #28281c63;
}
.video-covers img:first-child { transform: translateX(5%) rotate(-8deg); z-index: 1; }
.video-covers img:last-child { transform: translateX(-5%) rotate(8deg); }
.video-caption { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.25rem; }
.video-caption .video-play { background: #efdfba; color: #28372a; }
.video-caption h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.video-caption p { color: #eee4d0; }
.video-mini {
  min-height: 75px;
  align-items: center;
  gap: .8rem;
  padding: .55rem .8rem;
  border: 1px solid #c6d0c1;
  background: #f9f6ed;
}
.video-mini img { width: 38px; height: 52px; flex: none; object-fit: contain; }
.video-mini .video-play { margin-left: auto; width: 32px; height: 32px; }
.video-mini p { color: var(--muted); }
.video-modal {
  width: min(100% - 1.25rem, 460px);
  max-height: calc(100dvh - 1.25rem);
  margin: auto;
  padding: .85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.video-modal::backdrop { background: #161e18d9; }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem; }
.player-bar h2 { margin: 0; font-size: clamp(1.25rem, 4vw, 1.8rem); letter-spacing: -.03em; }
.player-bar button {
  background: var(--leaf);
  color: #fff8e8;
  border: 0;
  border-radius: 4px;
  min-width: 38px;
  min-height: 38px;
  font-size: 1.45rem;
  cursor: pointer;
}
.player-bar button:focus-visible { outline: 3px solid #a15a20; outline-offset: 2px; }
.player-frame { display: flex; justify-content: center; background: #151b16; }
.player-frame iframe { display: block; border: 0; aspect-ratio: 9 / 16; height: min(70dvh, 565px); max-width: 100%; }
.youtube-fallback { margin: .7rem 0 0; }

@media (max-width: 640px) {
  .nav { gap: .5rem; }
  .nav-links { gap: .6rem; }
  .nav-links a:nth-child(3) { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card-featured { grid-row: auto; }
  .video-covers { min-height: 195px; }
  .video-covers img { width: clamp(86px, 27vw, 138px); }
}
