:root {
  color-scheme: dark;
  --ink: #07120f;
  --ink-soft: #0d1e19;
  --ink-light: #17362e;
  --gold: #caa66d;
  --gold-light: #ead4a6;
  --cream: #f3efe6;
  --cream-deep: #e8e1d3;
  --muted: #9da69f;
  --serif: "Cinzel", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #f5e4bd);
  box-shadow: 0 0 12px rgb(202 166 109 / 60%);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5.5vw, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid rgb(241 233 215 / 12%);
  background: linear-gradient(180deg, rgb(5 13 11 / 65%), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  color: var(--gold);
}

.brand-mark svg {
  display: block;
  width: 100%;
  stroke: currentColor;
  stroke-width: 1.2;
}

.brand-name,
.site-nav,
.eyebrow,
.verse-reference,
.visual-caption,
.scroll-cue,
.belief-strip,
.image-index,
.card-kicker,
.book-author,
.book-facts span,
.author-name,
.footer-brand,
.site-footer > p,
.back-top {
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-name {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  color: rgb(243 239 230 / 78%);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.site-nav a:not(.nav-cta) {
  transition: color 180ms ease;
}

.site-nav a:not(.nav-cta):hover,
.text-link:hover,
.arrow-link:hover {
  color: var(--gold-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 13px 17px;
  border: 1px solid rgb(202 166 109 / 54%);
  color: var(--gold-light);
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.nav-cta span,
.button span,
.text-link span,
.arrow-link span,
.back-top span {
  font-size: 15px;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 100svh);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 130px max(5.5vw, calc((100vw - var(--page-width)) / 2)) 98px;
}

.hero-backdrop,
.hero-backdrop::after {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-backdrop {
  background-image: url("./public/images/sections/Cinematic%20Jerusalem%20street%20at%20sunrise-1.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: backdrop-drift 18s ease-in-out infinite alternate;
}

.hero-backdrop::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(5 13 11 / 96%) 0%, rgb(5 13 11 / 83%) 35%, rgb(5 13 11 / 38%) 72%, rgb(5 13 11 / 55%) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%, rgb(5 13 11 / 18%) 100%);
}

.hero-grid {
  display: grid;
  width: min(100%, var(--page-width));
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: 6vw;
  margin: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: rise-in 850ms 100ms both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 23px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
}

.eyebrow > span {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-shadow: 0 4px 38px rgb(0 0 0 / 28%);
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-description {
  max-width: 470px;
  margin: 26px 0 0;
  color: rgb(243 239 230 / 74%);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 33px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--ink);
}

.button-gold:hover {
  background: var(--gold-light);
}

.button-dark {
  background: var(--ink);
  color: var(--cream);
}

.button-dark:hover {
  background: var(--ink-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--cream);
  font-size: 11px;
  transition: color 180ms ease;
}

.hero-verse {
  display: grid;
  grid-template-columns: 25px auto;
  align-items: center;
  column-gap: 13px;
  margin-top: 56px;
  color: rgb(243 239 230 / 65%);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.hero-verse p {
  margin: 0;
}

.verse-rule {
  width: 25px;
  height: 1px;
  background: var(--gold);
}

.hero-verse .verse-reference {
  grid-column: 2;
  margin-top: 9px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
  perspective: 1300px;
  animation: rise-in 1s 250ms both;
}

.hero-orbit {
  position: absolute;
  width: min(36vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgb(234 212 166 / 18%);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-20deg);
}

.hero-orbit-one {
  animation: orbit-turn 28s linear infinite;
}

.hero-orbit-two {
  width: min(29vw, 355px);
  border-style: dashed;
  opacity: 0.62;
  transform: rotateX(68deg) rotateZ(25deg);
  animation: orbit-turn 36s linear infinite reverse;
}

.hero-spark {
  position: absolute;
  z-index: 4;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgb(234 212 166 / 75%);
}

.hero-spark-one {
  top: 20%;
  right: 12%;
  font-size: 24px;
  animation: sparkle 3s ease-in-out infinite;
}

.hero-spark-two {
  bottom: 20%;
  left: 9%;
  font-size: 19px;
  animation: sparkle 3s 1s ease-in-out infinite;
}

.book-stage {
  position: relative;
  z-index: 2;
  width: clamp(205px, 24vw, 315px);
  aspect-ratio: 0.67;
  transform: rotateY(-7deg) rotateX(2deg);
  transform-style: preserve-3d;
  animation: book-float 6s ease-in-out infinite;
  filter: drop-shadow(12px 26px 26px rgb(0 0 0 / 35%));
  transition: transform 220ms ease-out;
}

.book-cover {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-fit: contain;
  transform: translateZ(0);
}

.book-pages {
  position: absolute;
  z-index: 1;
  top: 1%;
  right: -7.5%;
  width: 8%;
  height: 98%;
  background: repeating-linear-gradient(90deg, #d6cdb9 0 2px, #f3eede 2px 4px);
  transform: rotateY(90deg) translateZ(-96%);
  transform-origin: left center;
}

.book-spine {
  position: absolute;
  z-index: 0;
  top: 0;
  left: -7.5%;
  width: 8%;
  height: 100%;
  background: linear-gradient(90deg, #10100e, #27342d 45%, #10100e);
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: right center;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 2%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(243 239 230 / 72%);
  font-size: 8px;
}

.visual-caption span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.scroll-cue {
  position: absolute;
  right: max(5.5vw, calc((100vw - var(--page-width)) / 2));
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgb(243 239 230 / 57%);
  font-size: 8px;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.belief-strip {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 60px);
  padding: 18px 24px;
  border-top: 1px solid rgb(202 166 109 / 23%);
  border-bottom: 1px solid rgb(202 166 109 / 23%);
  background: #0a1713;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 9px;
}

.belief-strip i {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
}

.section-pad {
  padding: 130px max(6vw, calc((100vw - var(--page-width)) / 2));
}

.introduction {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(50px, 10vw, 145px);
  background: var(--cream);
  color: var(--ink);
}

.intro-image {
  position: relative;
}

.intro-image::before {
  position: absolute;
  z-index: 1;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgb(163 125 67 / 45%);
  content: "";
  pointer-events: none;
}

.intro-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  filter: saturate(0.82);
}

.image-index {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 8px;
}

.image-index i {
  display: block;
  width: 25px;
  height: 1px;
  background: var(--gold-light);
}

.eyebrow-dark {
  color: #947142;
}

.intro-copy h2,
.section-heading h2,
.book-section-copy h2,
.author-copy h2,
.contact-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(35px, 4.5vw, 59px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.17;
}

.intro-copy h2 em,
.book-section-copy h2 em {
  color: #947142;
}

.intro-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 25px 0 0;
  color: #5d645e;
  font-size: 14px;
  line-height: 1.9;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: #6d5028;
  font-size: 11px;
  font-weight: 700;
  transition: color 180ms ease;
}

.journey {
  background:
    radial-gradient(ellipse at 85% 20%, rgb(25 57 47 / 52%), transparent 42%),
    var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 54px;
}

.section-heading-note {
  max-width: 320px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-card {
  min-width: 0;
}

.journey-image {
  position: relative;
  overflow: hidden;
  background: #183229;
}

.journey-image::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgb(4 13 10 / 70%));
  content: "";
}

.journey-image img {
  width: 100%;
  aspect-ratio: 0.91;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.journey-card:hover .journey-image img {
  transform: scale(1.06);
}

.card-number {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 17px;
  color: white;
  font-family: var(--serif);
  font-size: 13px;
}

.card-kicker {
  margin: 23px 0 8px;
  color: var(--gold);
  font-size: 8px;
}

.journey-card h3 {
  margin-bottom: 9px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.journey-card > p:last-child {
  max-width: 240px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.book-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(50px, 10vw, 145px);
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}

.book-section-visual {
  position: relative;
  display: grid;
  min-height: 530px;
  place-items: center;
  perspective: 1200px;
}

.book-section-glow {
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(201 165 108 / 32%), transparent 68%);
  filter: blur(7px);
}

.book-mockup {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  transform: rotateY(8deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 220ms ease-out;
}

.book-mockup img {
  width: 100%;
  filter: drop-shadow(18px 26px 14px rgb(25 25 21 / 24%));
}

.book-section-note {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 7%;
  padding: 12px 15px;
  border-left: 1px solid #aa8750;
  background: rgb(243 239 230 / 82%);
  color: #63523b;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.65;
}

.book-section-copy {
  max-width: 520px;
}

.book-author,
.author-name {
  margin: 17px 0 0;
  color: #907044;
  font-size: 9px;
  font-weight: 600;
}

.gold-divider {
  display: block;
  width: 45px;
  height: 1px;
  margin: 27px 0;
  background: #aa8750;
}

.book-description {
  margin: 0;
  color: #5d645e;
  font-size: 14px;
  line-height: 1.9;
}

.book-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  margin: 28px 0 31px;
}

.book-facts div {
  display: grid;
  gap: 8px;
}

.book-facts span {
  color: #8b8e86;
  font-size: 8px;
}

.book-facts strong {
  color: #27302a;
  font-size: 11px;
  font-weight: 600;
}

.scripture-callout {
  position: relative;
  display: grid;
  min-height: 400px;
  overflow: hidden;
  place-items: center;
  text-align: center;
}

.scripture-callout > img,
.scripture-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scripture-callout > img {
  object-fit: cover;
  object-position: center 54%;
}

.scripture-overlay {
  background: rgb(5 13 11 / 63%);
}

.scripture-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 70px 25px;
}

.quote-mark {
  display: block;
  height: 55px;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: 1;
}

.scripture-content p {
  margin: 13px 0 21px;
  color: white;
  font-family: var(--serif);
  font-size: clamp(23px, 3.6vw, 42px);
  line-height: 1.45;
}

.scripture-content .verse-reference {
  color: var(--gold-light);
  font-size: 9px;
}

.author-section {
  position: relative;
  display: grid;
  min-height: 570px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
  background: #09201b;
}

.author-portrait {
  position: relative;
  min-height: 460px;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.author-photo-main,
.author-photo-inset {
  position: absolute;
  overflow: hidden;
  background: #17362e;
  box-shadow: 0 24px 54px rgb(0 0 0 / 32%);
}

.author-photo-main {
  top: 0;
  bottom: 20px;
  left: 3%;
  width: 73%;
  border: 1px solid rgb(234 212 166 / 54%);
  border-radius: 42% 42% 28px 28px;
  transform: rotateY(7deg) rotateX(2deg);
}

.author-photo-inset {
  right: 1%;
  bottom: 10%;
  width: 44%;
  height: 48%;
  border: 5px solid #09201b;
  border-radius: 27px;
  transform: rotateY(-10deg) rotateX(3deg) translateZ(35px);
}

.author-photo-main img,
.author-photo-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-photo-main img {
  object-position: center 27%;
}

.author-photo-inset img {
  object-position: center 24%;
}

.author-photo-caption {
  position: absolute;
  bottom: 0;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.author-photo-caption i {
  color: rgb(243 239 230 / 60%);
  font-size: 7px;
  font-style: normal;
}

.author-art {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 67%;
  opacity: 0.56;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
}

.author-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  padding-left: 3vw;
}

.author-copy h2 {
  color: var(--cream);
}

.author-copy h2 em,
.contact-content h2 em {
  color: var(--gold-light);
}

.author-copy > p:not(.eyebrow, .author-name, .author-signoff) {
  max-width: 410px;
  margin: 24px 0 0;
  color: rgb(243 239 230 / 70%);
  font-size: 13px;
  line-height: 1.9;
}

.author-copy .author-signoff {
  margin: 24px 0 27px;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  place-items: center;
  padding: 85px 24px;
  background:
    radial-gradient(ellipse at 50% 110%, rgb(38 72 57 / 70%), transparent 58%),
    #0b1915;
  text-align: center;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.contact-content .eyebrow {
  justify-content: center;
}

.contact-content h2 {
  color: var(--cream);
}

.contact-content > p:not(.eyebrow) {
  max-width: 420px;
  margin: 19px auto 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.contact-cross {
  position: absolute;
  top: -110px;
  right: max(6vw, calc((100vw - var(--page-width)) / 2));
  color: rgb(202 166 109 / 8%);
  font-family: Georgia, serif;
  font-size: 400px;
  line-height: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 34px max(5.5vw, calc((100vw - var(--page-width)) / 2)) 26px;
  border-top: 1px solid rgb(202 166 109 / 18%);
  color: var(--muted);
  font-size: 8px;
}

.footer-brand {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 10px;
}

.footer-brand span {
  margin-left: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 7px;
}

.site-footer > p {
  margin: 0;
  color: rgb(157 166 159 / 65%);
  font-size: 8px;
  text-align: center;
}

.back-top {
  justify-self: end;
  color: var(--gold-light);
  font-size: 8px;
}

.back-top span {
  margin-left: 8px;
}

.site-footer small {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 17px;
  border-top: 1px solid rgb(243 239 230 / 9%);
  color: rgb(157 166 159 / 65%);
  font-size: 9px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-card:nth-child(2) {
  transition-delay: 80ms;
}

.journey-card:nth-child(3) {
  transition-delay: 160ms;
}

.journey-card:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backdrop-drift {
  to {
    transform: scale(1.08) translateY(-1%);
  }
}

@keyframes book-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes orbit-turn {
  to {
    rotate: 360deg;
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.35;
    scale: 0.85;
  }
  50% {
    opacity: 1;
    scale: 1.12;
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.72);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .hero {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.75fr);
    gap: 2vw;
  }

  .hero-visual {
    min-height: 460px;
  }

  .section-pad {
    padding: 100px 6vw;
  }

  .introduction,
  .book-section {
    gap: 7vw;
  }

  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }

  .journey-image img {
    aspect-ratio: 1.3;
  }

  .book-section-visual {
    min-height: 440px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    position: absolute;
    min-height: 70px;
    padding: 0 22px;
  }

  .brand-mark {
    width: 30px;
  }

  .brand-name {
    font-size: 9px;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid rgb(202 166 109 / 40%);
    background: rgb(7 18 15 / 70%);
    color: var(--cream);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 69px;
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 18px;
    border-bottom: 1px solid rgb(202 166 109 / 26%);
    background: rgb(7 18 15 / 97%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
  }

  .site-nav > a:not(.nav-cta) {
    padding: 16px 4px;
    border-bottom: 1px solid rgb(243 239 230 / 9%);
  }

  .nav-cta {
    justify-content: space-between;
    margin-top: 14px;
  }

  .hero {
    min-height: auto;
    padding: 115px 24px 78px;
  }

  .hero-backdrop {
    background-position: 56% center;
  }

  .hero-backdrop::after {
    background:
      linear-gradient(90deg, rgb(5 13 11 / 88%), rgb(5 13 11 / 52%)),
      linear-gradient(0deg, var(--ink), transparent 35%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero h1 {
    font-size: clamp(32px, 8.7vw, 42px);
    letter-spacing: -0.06em;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 8px;
  }

  .hero-description {
    max-width: 390px;
    margin-top: 19px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-top: 25px;
  }

  .button {
    min-height: 47px;
    gap: 15px;
    padding: 0 16px;
    font-size: 9px;
  }

  .hero-verse {
    margin-top: 31px;
    font-size: 11px;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 3px;
  }

  .book-stage {
    width: clamp(190px, 55vw, 255px);
  }

  .hero-orbit {
    width: min(80vw, 350px);
  }

  .hero-orbit-two {
    width: min(65vw, 285px);
  }

  .visual-caption {
    right: 5px;
    bottom: 1%;
    font-size: 7px;
  }

  .scroll-cue {
    right: 17px;
    bottom: 25px;
    font-size: 7px;
  }

  .belief-strip {
    min-height: 63px;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 7px;
  }

  .belief-strip i {
    font-size: 7px;
  }

  .section-pad {
    padding: 78px 24px;
  }

  .introduction,
  .book-section {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .intro-image {
    width: calc(100% - 13px);
    margin-right: 13px;
  }

  .intro-image img {
    aspect-ratio: 1.15;
  }

  .intro-copy h2,
  .section-heading h2,
  .book-section-copy h2,
  .author-copy h2,
  .contact-content h2 {
    font-size: clamp(34px, 9.5vw, 49px);
  }

  .intro-copy > p:not(.eyebrow) {
    margin-top: 19px;
    font-size: 13px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
  }

  .section-heading-note {
    max-width: 360px;
    font-size: 12px;
  }

  .journey-grid {
    gap: 30px 14px;
  }

  .journey-image img {
    aspect-ratio: 0.85;
  }

  .card-number {
    bottom: 10px;
    left: 11px;
    font-size: 11px;
  }

  .card-kicker {
    margin: 15px 0 6px;
    font-size: 7px;
    letter-spacing: 0.09em;
  }

  .journey-card h3 {
    font-size: 15px;
  }

  .journey-card > p:last-child {
    font-size: 11px;
  }

  .book-section {
    gap: 22px;
  }

  .book-section-visual {
    min-height: 330px;
  }

  .book-mockup {
    width: min(100%, 340px);
  }

  .book-section-glow {
    width: 270px;
  }

  .book-section-note {
    right: 2px;
    bottom: 5%;
    font-size: 8px;
  }

  .book-description {
    font-size: 13px;
  }

  .book-facts {
    gap: 21px;
  }

  .book-facts strong {
    font-size: 10px;
  }

  .scripture-callout {
    min-height: 330px;
  }

  .scripture-content p {
    font-size: clamp(22px, 6.5vw, 32px);
  }

  .author-section {
    min-height: 620px;
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 65px;
  }

  .author-portrait {
    min-height: 390px;
  }

  .author-photo-main {
    left: 5%;
    width: 70%;
  }

  .author-photo-inset {
    right: 2%;
    width: 43%;
    height: 47%;
  }

  .author-art {
    top: 0;
    bottom: 25%;
    width: 100%;
    opacity: 0.52;
    -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  }

  .author-copy {
    grid-column: 1;
    padding: 0;
  }

  .contact-section {
    min-height: 420px;
  }

  .contact-cross {
    top: -10px;
    right: -24px;
    font-size: 260px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 27px 23px 20px;
  }

  .site-footer > p {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: left;
  }

  .back-top {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .hero-visual {
    min-height: 350px;
  }

  .belief-strip {
    gap: 9px;
    font-size: 6px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-image img {
    aspect-ratio: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.site-header.site-header-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 18px;
  position: sticky;
  background: var(--ink);
}

.site-header-page > .brand {
  grid-column: 1;
  justify-self: start;
}

.site-header-page > .site-nav {
  grid-column: 2;
  justify-self: center;
  width: max-content;
  max-width: 100%;
}

.site-header-page > .menu-toggle {
  grid-column: 3;
  justify-self: end;
}

.site-header-page .site-nav {
  gap: clamp(12px, 1.8vw, 26px);
}

.site-nav .current-page {
  color: var(--gold-light);
}

.site-nav .auth-link {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav .auth-link {
  padding: 8px 0;
}

.site-nav .auth-link:hover,
.footer-nav a:hover {
  color: var(--gold-light);
}

[hidden] {
  display: none !important;
}

.auth-status:not([hidden]) {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid var(--gold);
  background: var(--ink-soft);
  color: var(--cream);
  font-size: 12px;
  line-height: 1.6;
}

.auth-status.is-error,
.auth-feedback.is-error {
  border-color: #b15d4a;
  color: #a63d2b;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 590px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 5vw;
  overflow: hidden;
  padding: 76px max(6vw, calc((100vw - var(--page-width)) / 2));
  background:
    radial-gradient(ellipse at 75% 55%, rgb(181 131 68 / 20%), transparent 48%),
    #0b1915;
  color: var(--cream);
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(5 13 11 / 75%), transparent 78%);
  content: "";
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin: 22px 0 28px;
  color: rgb(243 239 230 / 76%);
  font-size: 14px;
  line-height: 1.8;
}

.page-hero-art {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 410px;
  place-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.page-hero-art img {
  width: min(100%, 430px);
  filter: drop-shadow(18px 30px 32px rgb(0 0 0 / 42%));
  transform: rotateY(-9deg) rotateX(2deg);
  transition: transform 220ms ease-out;
}

.author-photo-hero::before {
  position: absolute;
  width: min(78%, 360px);
  aspect-ratio: 1;
  border: 1px solid rgb(234 212 166 / 42%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(202 166 109 / 20%), transparent 68%);
  content: "";
  transform: translateZ(-24px);
}

.page-hero .author-photo-hero img {
  width: min(100%, 340px);
  max-height: 450px;
  aspect-ratio: 3 / 4;
  border: 5px solid rgb(234 212 166 / 58%);
  object-fit: cover;
  object-position: center 26%;
}

.author-section .author-art {
  width: 72%;
  opacity: 0.78;
}

.author-section .author-art img {
  object-position: center 27%;
  filter: saturate(0.78) contrast(0.94);
}

.book-page-hero .page-hero-art img {
  width: min(100%, 480px);
}

.author-page-hero,
.journal-page-hero,
.article-page-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
}

.author-page-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 69%;
  opacity: 0.64;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.author-page-art img,
.journal-art img,
.article-page-hero .page-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
}

.journal-page-hero .page-hero-art,
.article-page-hero .page-hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 67%;
  height: 100%;
  min-height: 0;
  opacity: 0.56;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48%);
  mask-image: linear-gradient(90deg, transparent, #000 48%);
}

.book-detail,
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  background: var(--cream);
  color: var(--ink);
}

.book-detail-copy,
.about-story-copy {
  max-width: 600px;
}

.book-detail-copy h2,
.about-story-copy h2,
.page-cta h2,
.review-copy h2,
.more-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.7vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.book-detail-copy h2 em,
.about-story-copy h2 em {
  color: #947142;
  font-style: normal;
}

.book-detail-copy > p:not(.eyebrow),
.about-story-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #5d645e;
  font-size: 14px;
  line-height: 1.9;
}

.book-detail-copy .button,
.about-story-copy .arrow-link {
  margin-top: 30px;
}

.book-detail-image {
  position: relative;
}

.book-detail-image::before {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgb(163 125 67 / 45%);
  content: "";
}

.book-detail-image img,
.about-story-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 570px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgb(27 25 19 / 16%);
}

.about-story-image img {
  aspect-ratio: 1.2;
}

.review-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
  background:
    radial-gradient(ellipse at 18% 82%, rgb(30 69 55 / 46%), transparent 48%),
    var(--ink);
}

.review-copy h2,
.more-section h2,
.page-cta h2 {
  color: var(--cream);
}

.review-copy > p:not(.eyebrow) {
  max-width: 420px;
  margin: 22px 0 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.review-image {
  position: relative;
}

.review-image img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.review-image span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.more-section {
  background: #0a1713;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.more-card {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgb(202 166 109 / 24%);
  background: linear-gradient(145deg, rgb(22 49 40 / 72%), rgb(9 22 17 / 88%));
  transition: transform 220ms ease, border-color 220ms ease;
}

.more-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.more-card > span {
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.more-card h3 {
  margin: 36px 0 10px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.more-card p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.more-card b {
  position: absolute;
  right: 25px;
  bottom: 22px;
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 400;
}

.page-cta {
  display: grid;
  min-height: 390px;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgb(38 72 57 / 70%), transparent 58%),
    var(--ink);
  text-align: center;
}

.page-cta .eyebrow {
  justify-content: center;
}

.page-cta .button {
  margin-top: 26px;
}

.journal-list {
  background: var(--cream);
  color: var(--ink);
}

.journal-list .section-heading h2 {
  color: var(--ink);
}

.journal-list .section-heading h2 em {
  color: #947142;
}

.journal-list .section-heading-note {
  color: #606a61;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.journal-card {
  overflow: hidden;
  background: #e9e3d8;
}

.journal-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.journal-card-image img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  transition: transform 550ms ease;
}

.journal-card-image:hover img {
  transform: scale(1.05);
}

.journal-card-image span {
  position: absolute;
  bottom: 13px;
  left: 16px;
  color: white;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.journal-card > div {
  padding: 23px 23px 27px;
}

.journal-card h3 {
  margin: 0;
  color: #1b2a22;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.journal-card > div > p:not(.card-kicker) {
  color: #657067;
  font-size: 12px;
  line-height: 1.8;
}

.journal-card .arrow-link {
  margin-top: 10px;
  font-size: 10px;
}

.article-list {
  display: grid;
  gap: 90px;
  background: var(--cream);
  color: var(--ink);
}

.long-article {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
  scroll-margin-top: 100px;
}

.long-article-reverse .long-article-image {
  grid-column: 2;
  grid-row: 1;
}

.long-article-reverse .long-article-copy {
  grid-column: 1;
  grid-row: 1;
}

.long-article-image img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.long-article-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 500;
  line-height: 1.25;
}

.long-article-copy > p:not(.card-kicker) {
  color: #5d645e;
  font-size: 13px;
  line-height: 1.9;
}

.long-article-copy .article-lede {
  margin-top: 20px;
  color: #27382f !important;
  font-size: 15px !important;
}

.long-article-copy .arrow-link {
  margin-top: 10px;
}

.auth-page {
  position: relative;
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  overflow: hidden;
  padding: 72px 24px;
  background: var(--cream);
  color: var(--ink);
}

.auth-card {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 52px);
  background: rgb(243 239 230 / 94%);
  box-shadow: 0 24px 80px rgb(8 20 15 / 20%);
}

.auth-card h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
}

.auth-card h1 em {
  color: #947142;
  font-style: normal;
}

.auth-intro {
  color: #606a61;
  font-size: 13px;
}

.auth-card form {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.auth-card label {
  margin-top: 7px;
  color: #36443b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-card input {
  width: 100%;
  min-height: 47px;
  padding: 0 12px;
  border: 1px solid #c8c0b1;
  border-radius: 0;
  background: white;
  color: #17241d;
  font: inherit;
}

.auth-card input:focus {
  border-color: #947142;
  outline: 2px solid rgb(148 113 66 / 23%);
}

.auth-submit {
  margin-top: 15px;
  border: 0;
  cursor: pointer;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.auth-feedback {
  margin: 6px 0 0;
  color: #675a42;
  font-size: 11px;
  line-height: 1.7;
}

.auth-feedback code {
  color: #27382f;
  font-size: 10px;
}

.auth-page-art {
  position: absolute;
  inset: 0;
  opacity: 0.22;
}

.auth-page-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  transition: color 180ms ease;
}

@media (max-width: 960px) {
  .site-header.site-header-page {
    grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
    column-gap: 10px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header-page .site-nav {
    gap: 9px;
  }

  .site-header-page .nav-cta {
    gap: 8px;
    padding: 10px 11px;
    font-size: 8px;
  }

  .site-header-page .site-nav {
    font-size: 8px;
  }

  .site-header-page .brand-name {
    font-size: 9px;
  }

  .page-hero {
    min-height: 520px;
  }

  .page-hero-art {
    min-height: 350px;
  }

  .book-detail,
  .about-story,
  .review-section {
    gap: 6vw;
  }
}

@media (max-width: 700px) {
  .site-header.site-header-page {
    grid-template-columns: 1fr 44px;
    column-gap: 12px;
    position: sticky;
    min-height: 70px;
    padding: 0 22px;
  }

  .site-header-page > .brand {
    grid-column: 1;
  }

  .site-header-page > .menu-toggle {
    grid-column: 2;
  }

  .site-header-page > .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: auto;
  }

  .site-header-page .site-nav {
    gap: 0;
  }

  .site-header-page .site-nav > a:not(.nav-cta) {
    padding: 15px 4px;
  }

  .site-header-page .nav-cta {
    margin-top: 12px;
    padding: 13px 15px;
    font-size: 9px;
  }

  .page-hero,
  .author-page-hero,
  .journal-page-hero,
  .article-page-hero {
    min-height: 600px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 68px 24px 35px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 10vw, 55px);
  }

  .page-hero-art {
    min-height: 300px;
  }

  .book-page-hero .page-hero-art img {
    width: min(100%, 340px);
  }

  .author-page-art,
  .journal-page-hero .page-hero-art,
  .article-page-hero .page-hero-art {
    width: 100%;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 95%);
    mask-image: linear-gradient(180deg, #000, transparent 95%);
  }

  .book-detail,
  .about-story,
  .review-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .book-detail-image img {
    max-height: 440px;
  }

  .review-image img {
    aspect-ratio: 1.1;
  }

  .more-grid,
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .more-card {
    min-height: 200px;
  }

  .long-article,
  .long-article-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .long-article-reverse .long-article-image,
  .long-article-reverse .long-article-copy {
    grid-column: 1;
  }

  .long-article-reverse .long-article-image {
    grid-row: 1;
  }

  .long-article-reverse .long-article-copy {
    grid-row: 2;
  }

  .article-list {
    gap: 62px;
  }

  .auth-page {
    min-height: calc(100vh - 70px);
  }

  .footer-nav {
    grid-row: 3;
    grid-column: 1 / -1;
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 390px) {
  .page-hero h1 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .site-footer .footer-nav {
    font-size: 7px;
  }
}

.site-header {
  isolation: isolate;
  transform-style: preserve-3d;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-bottom: 1px solid rgb(234 212 166 / 18%);
  background: linear-gradient(110deg, rgb(255 255 255 / 5%), transparent 42%, rgb(202 166 109 / 4%));
  content: "";
  pointer-events: none;
  transform: translateZ(-18px);
}

.site-header::after {
  position: absolute;
  bottom: -1px;
  left: -28%;
  width: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 12px rgb(234 212 166 / 70%);
  content: "";
  pointer-events: none;
  animation: nav-light-sweep 9s ease-in-out infinite;
}

.brand,
.site-nav > a,
.site-nav > button {
  transform-style: preserve-3d;
}

.brand {
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.brand:hover {
  transform: perspective(700px) translateZ(9px) rotateY(-4deg);
}

.brand-mark {
  transform: translateZ(9px);
}

.site-nav > a:not(.nav-cta),
.site-nav > button {
  transition: color 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 260ms ease;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > button:hover {
  transform: perspective(550px) translateZ(10px) rotateX(-7deg);
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  content: "";
  transform: translateZ(8px) scaleX(0);
  transition: transform 260ms ease;
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a.current-page::after {
  transform: translateZ(8px) scaleX(1);
}

.site-nav .nav-cta {
  box-shadow: 0 8px 18px rgb(0 0 0 / 18%), inset 0 1px rgb(255 255 255 / 12%);
  transform-style: preserve-3d;
}

.site-nav .nav-cta:hover {
  box-shadow: 0 16px 26px rgb(0 0 0 / 28%), inset 0 1px rgb(255 255 255 / 24%);
  transform: perspective(500px) translateY(-3px) translateZ(8px) rotateX(-5deg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--ink-soft), var(--ink));
  perspective: 1100px;
  transform-style: preserve-3d;
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  inset: -35%;
  background:
    radial-gradient(ellipse at 18% 68%, rgb(202 166 109 / 13%), transparent 36%),
    radial-gradient(ellipse at 78% 45%, rgb(34 86 65 / 34%), transparent 42%);
  content: "";
  pointer-events: none;
  transform: translateZ(-45px) rotateX(9deg);
  animation: footer-drift 16s ease-in-out infinite alternate;
}

.site-footer::after {
  position: absolute;
  top: 0;
  left: -30%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 15px rgb(234 212 166 / 65%);
  content: "";
  pointer-events: none;
  animation: nav-light-sweep 10s 1.5s ease-in-out infinite;
}

.site-footer > * {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.footer-brand,
.site-footer > p,
.footer-nav,
.back-top {
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.3, 1), color 220ms ease;
}

.footer-brand:hover,
.back-top:hover {
  transform: perspective(600px) translateZ(12px) rotateX(-5deg);
}

.footer-nav a {
  display: inline-block;
  transform-style: preserve-3d;
  transition: color 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.footer-nav a:hover {
  transform: perspective(500px) translateZ(12px) rotateX(-8deg);
}

.site-footer small {
  transform: translateZ(4px);
}

@keyframes nav-light-sweep {
  0%,
  12% {
    transform: translateX(0);
    opacity: 0;
  }
  24% {
    opacity: 1;
  }
  68%,
  100% {
    transform: translateX(560%);
    opacity: 0;
  }
}

@keyframes footer-drift {
  from {
    transform: translate3d(-1.5%, 0, -45px) rotateX(9deg) rotateZ(-1deg);
  }
  to {
    transform: translate3d(1.5%, -2%, -45px) rotateX(12deg) rotateZ(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after,
  .site-footer::before,
  .site-footer::after {
    animation: none !important;
  }

  .brand,
  .site-nav > a,
  .site-nav > button,
  .footer-brand,
  .site-footer > p,
  .footer-nav,
  .footer-nav a,
  .back-top {
    transition: none !important;
  }
}

.site-nav {
  position: relative;
  padding: 7px;
  border: 1px solid rgb(234 212 166 / 18%);
  border-radius: 999px;
  background: linear-gradient(145deg, rgb(20 39 31 / 88%), rgb(7 18 15 / 82%));
  box-shadow: 0 14px 36px rgb(0 0 0 / 23%), inset 0 1px rgb(255 255 255 / 8%);
}

.nav-cta,
.button {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgb(0 0 0 / 18%), inset 0 1px rgb(255 255 255 / 22%);
}

.button::before,
.nav-cta::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 27%, rgb(255 255 255 / 28%) 48%, transparent 68%);
  content: "";
  pointer-events: none;
  transform: translateX(-130%);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.button:hover::before,
.nav-cta:hover::before {
  transform: translateX(130%);
}

.button:hover,
.nav-cta:hover {
  box-shadow: 0 16px 32px rgb(0 0 0 / 26%), inset 0 1px rgb(255 255 255 / 30%);
}

.menu-toggle {
  border-radius: 50% !important;
  box-shadow: 0 8px 22px rgb(0 0 0 / 28%), inset 0 1px rgb(255 255 255 / 10%);
}

.intro-image img,
.journey-image,
.book-detail-image img,
.review-image img,
.journal-card,
.journal-card-image img,
.long-article-image img,
.more-card,
.auth-card {
  border-radius: 26px;
}

.intro-image::before {
  border-radius: 32px;
}

.book-stage,
.book-mockup img,
.page-hero-art img {
  border-radius: 8px;
}

.journey-image {
  border-radius: 22px;
}

.more-card {
  border-radius: 30px;
  box-shadow: 0 16px 38px rgb(0 0 0 / 12%), inset 0 1px rgb(255 255 255 / 5%);
}

.journal-card {
  box-shadow: 0 18px 42px rgb(24 39 31 / 12%);
}

.auth-card {
  border: 1px solid rgb(148 113 66 / 20%);
  box-shadow: 0 28px 90px rgb(8 20 15 / 18%);
}

.auth-card input {
  border-radius: 14px;
}

.site-footer {
  margin-top: -20px;
  border-top: 1px solid rgb(234 212 166 / 19%);
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  box-shadow: 0 -18px 54px rgb(0 0 0 / 14%);
}

.footer-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1), background 220ms ease;
}

.footer-nav a:hover {
  background: rgb(202 166 109 / 12%);
}

@media (max-width: 960px) {
  .site-header-page .site-nav {
    padding: 6px;
  }
}

@media (max-width: 700px) {
  .site-nav,
  .site-header-page .site-nav {
    padding: 12px 22px 18px;
    border: 1px solid rgb(202 166 109 / 24%);
    border-top: 0;
    border-radius: 0 0 24px 24px;
    background: rgb(7 18 15 / 97%);
    box-shadow: 0 20px 36px rgb(0 0 0 / 28%);
  }

  .nav-cta {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-footer {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button::before,
  .nav-cta::before {
    display: none;
  }
}

.book-chat {
  position: fixed;
  z-index: 120;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
  font-family: var(--sans);
}

.book-chat-launcher {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 8px 9px;
  border: 1px solid rgb(234 212 166 / 54%);
  border-radius: 999px;
  background: linear-gradient(135deg, #ead4a6, #bd965a);
  box-shadow: 0 12px 30px rgb(0 0 0 / 32%), inset 0 1px rgb(255 255 255 / 54%);
  color: #17241d;
  cursor: pointer;
  font: 700 11px var(--sans);
  letter-spacing: 0.02em;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.book-chat-launcher:hover {
  transform: translateY(-3px) rotateX(-5deg);
  box-shadow: 0 17px 36px rgb(0 0 0 / 38%), inset 0 1px rgb(255 255 255 / 60%);
}

.book-chat-launcher-icon,
.book-chat-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(23 36 29 / 18%);
  border-radius: 50%;
  font-size: 15px;
}

.book-chat-panel {
  display: flex;
  width: min(370px, calc(100vw - 32px));
  max-height: min(510px, calc(100dvh - 110px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(202 166 109 / 38%);
  border-radius: 26px;
  background: var(--ink);
  box-shadow: 0 25px 70px rgb(0 0 0 / 42%), inset 0 1px rgb(255 255 255 / 8%);
  color: var(--cream);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 220ms ease, transform 220ms ease;
}

.book-chat.is-open .book-chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.book-chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  border-bottom: 1px solid rgb(234 212 166 / 18%);
  background: linear-gradient(110deg, #10271f, #0a1713);
}

.book-chat-mark {
  border-color: rgb(234 212 166 / 35%);
  color: var(--gold-light);
}

.book-chat-header > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.book-chat-header strong {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
}

.book-chat-header span {
  color: var(--muted);
  font-size: 9px;
}

.book-chat-close {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid rgb(234 212 166 / 25%);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.book-chat-messages {
  display: flex;
  min-height: 150px;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
}

.book-chat-message {
  max-width: 88%;
  padding: 11px 13px;
  border: 1px solid rgb(234 212 166 / 12%);
  border-radius: 16px 16px 16px 4px;
  background: #10231c;
  font-size: 12px;
  line-height: 1.65;
}

.book-chat-message p {
  margin: 0;
}

.book-chat-message.is-user {
  align-self: flex-end;
  border-color: rgb(202 166 109 / 30%);
  border-radius: 16px 16px 4px 16px;
  background: #1b382d;
}

.book-chat-message a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
}

.book-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 12px;
}

.book-chat-quick button {
  padding: 7px 10px;
  border: 1px solid rgb(202 166 109 / 35%);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font: 10px var(--sans);
}

.book-chat-quick button:hover {
  background: rgb(202 166 109 / 12%);
}

.book-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgb(234 212 166 / 15%);
}

.book-chat-form input {
  min-width: 0;
  min-height: 42px;
  flex: 1;
  padding: 0 14px;
  border: 1px solid rgb(234 212 166 / 24%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  color: var(--cream);
  font: 12px var(--sans);
}

.book-chat-form input::placeholder {
  color: var(--muted);
}

.book-chat-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #17241d;
  cursor: pointer;
  font-size: 19px;
}

.book-chat-note {
  margin: 0;
  padding: 0 14px 11px;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

@media (max-width: 700px) {
  .book-chat {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .book-chat-launcher {
    width: 52px;
    min-height: 52px;
    justify-content: center;
    gap: 0;
    padding: 8px;
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 220ms ease;
  }

  .book-chat-launcher-label {
    display: none;
  }

  .book-chat.is-form-focused .book-chat-launcher {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .book-chat-panel {
    max-height: min(480px, calc(100dvh - 90px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-chat-launcher,
  .book-chat-panel {
    transition: none;
  }
}

.site-header.site-header-page {
  min-height: 88px;
}

.site-header-page .brand-mark {
  width: 36px;
}

.site-header-page .brand-name {
  font-size: 11.5px;
}

.site-header-page .site-nav {
  gap: clamp(13px, 1.9vw, 27px);
  padding: 7.5px;
  font-size: 10.5px;
}

.site-header-page .nav-cta {
  padding: 14px 18px;
}

@media (max-width: 960px) {
  .site-header.site-header-page {
    min-height: 88px;
  }

  .site-header-page .brand-name {
    font-size: 9.5px;
  }

  .site-header-page .site-nav {
    gap: 9.5px;
    padding: 7.3px;
    font-size: 8.4px;
  }

  .site-header-page .nav-cta {
    padding: 10.5px 11.5px;
    font-size: 8.4px;
  }
}

@media (max-width: 700px) {
  .site-header.site-header-page {
    min-height: 74px;
    grid-template-columns: 1fr 46px;
  }

  .site-header-page .brand-mark {
    width: 32px;
  }

  .site-header-page .brand-name {
    font-size: 9.5px;
  }

  .site-header-page > .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .site-header-page .site-nav {
    position: absolute;
    z-index: 1;
    top: calc(100% - 1px);
    right: 12px;
    left: 12px;
    gap: 0;
    padding: 13px 23px 19px;
    font-size: 10.5px;
  }

  .site-header-page .site-nav > a:not(.nav-cta) {
    padding: 16px 4px;
  }

  .site-header-page .nav-cta {
    padding: 14px 16px;
    font-size: 9.5px;
  }
}

.reviews-section {
  background:
    radial-gradient(ellipse at 86% 12%, rgb(34 86 65 / 30%), transparent 36%),
    var(--ink);
  color: var(--cream);
}

.reviews-heading {
  max-width: 650px;
  margin-bottom: 48px;
}

.reviews-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.7vw, 58px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.reviews-heading > p:last-child {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  position: relative;
  min-height: 260px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgb(202 166 109 / 20%);
  border-radius: 26px;
  background: linear-gradient(145deg, var(--ink-soft), var(--ink));
  box-shadow: 0 18px 40px rgb(0 0 0 / 15%), inset 0 1px rgb(255 255 255 / 5%);
  color: var(--cream);
}

.review-type {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgb(202 166 109 / 32%);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.review-quote {
  position: absolute;
  top: 19px;
  right: 24px;
  color: rgb(202 166 109 / 30%);
  font-family: Georgia, serif;
  font-size: 68px;
  line-height: 1;
}

.review-card h3 {
  position: relative;
  margin: 28px 0 12px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.review-attribution {
  display: block;
  margin-top: 21px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.reviews-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.reviews-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.contact-page-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 8vw, 105px);
  background: var(--cream);
  color: var(--ink);
}

.contact-details h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(35px, 4.3vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.contact-details h2 em {
  color: #947142;
  font-style: normal;
}

.contact-details > p:not(.eyebrow) {
  max-width: 420px;
  margin: 21px 0 0;
  color: #5d645e;
  font-size: 13px;
  line-height: 1.85;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #77582e;
  font-size: 14px;
  font-weight: 700;
}

.contact-email span {
  font-size: 17px;
}

.contact-details .contact-note {
  margin-top: 13px;
  color: #74776f;
  font-size: 10px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgb(148 113 66 / 19%);
  border-radius: 28px;
  background: var(--cream-deep);
  box-shadow: 0 20px 55px rgb(28 34 27 / 11%);
}

.contact-form label {
  margin-top: 6px;
  color: #36443b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c8c0b1;
  border-radius: 14px;
  background: rgb(255 255 255 / 70%);
  color: #17241d;
  font: 13px var(--sans);
}

.contact-form input {
  min-height: 46px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #947142;
  outline: 2px solid rgb(148 113 66 / 20%);
}

.contact-form .button {
  justify-self: start;
  margin-top: 12px;
  border: 0;
  cursor: pointer;
}

.contact-form-status {
  margin: 2px 0 0;
  color: #697168;
  font-size: 10px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .review-grid,
  .contact-page-content {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 230px;
  }

  .reviews-heading {
    margin-bottom: 32px;
  }

  .reviews-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 30px 20px max(24px, env(safe-area-inset-bottom));
  }

  .site-footer > p {
    grid-row: 2;
    grid-column: 1 / -1;
    text-align: left;
    line-height: 1.6;
  }

  .site-footer .footer-nav {
    display: grid;
    width: 100%;
    grid-row: 3;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    justify-self: stretch;
  }

  .site-footer .footer-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    text-align: center;
  }

  .site-footer .back-top {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 10px;
  }

  .site-footer small {
    line-height: 1.7;
  }
}

.book-detail-image {
  display: grid;
  place-items: center;
}

.book-detail-image img {
  width: auto;
  height: min(68vh, 520px);
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 700px) {
  .book-detail-image img {
    height: min(58vh, 440px);
  }
}

.page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
  background: #07120f;
}

.page-hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("./public/images/sections/Cinematic%20Jerusalem%20street%20at%20sunrise-1.png");
  background-position: center;
  background-size: cover;
  content: "";
  transform: scale(1.025);
  animation: backdrop-drift 18s ease-in-out infinite alternate;
}

.page-hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(5 13 11 / 94%) 0%, rgb(5 13 11 / 80%) 38%, rgb(5 13 11 / 38%) 78%, rgb(5 13 11 / 58%) 100%),
    linear-gradient(0deg, #07120f 0%, transparent 28%, rgb(5 13 11 / 18%) 100%);
}

.author-page-hero,
.journal-page-hero,
.article-page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
}

.page-hero .page-hero-art {
  position: relative;
  z-index: 1;
  inset: auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 430px;
  opacity: 1;
  isolation: isolate;
  -webkit-mask-image: none;
  mask-image: none;
}

.page-hero-art::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(92%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgb(234 212 166 / 22%);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(-20deg);
  animation: orbit-turn 30s linear infinite;
}

.page-hero .page-hero-art::after {
  position: absolute;
  z-index: 2;
  inset: auto 12% auto auto;
  top: 12%;
  background: none;
  color: var(--gold-light);
  content: "\2726";
  font-size: 22px;
  text-shadow: 0 0 18px rgb(234 212 166 / 75%);
  animation: sparkle 3s ease-in-out infinite;
}

.page-hero .page-hero-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 500px);
  max-height: min(58vh, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(18px 30px 32px rgb(0 0 0 / 42%));
  transform-origin: center;
}

.book-page-hero .page-hero-art img {
  width: auto;
  height: min(58vh, 460px);
  max-width: 100%;
  animation: hero-book-float 7s ease-in-out infinite;
}

.author-photo-hero img {
  width: auto;
  height: min(56vh, 420px);
  max-width: min(100%, 340px);
  max-height: none;
  aspect-ratio: 3 / 4;
  border: 5px solid rgb(234 212 166 / 58%);
  border-radius: 48% 48% 35% 35%;
  object-fit: cover;
  object-position: center 26%;
  animation: hero-portrait-float 8s ease-in-out infinite;
}

.page-hero .journal-art img,
.page-hero .article-hero-art img,
.page-hero .reviews-hero-art img,
.page-hero .contact-hero-art img {
  width: min(100%, 500px);
  height: min(52vh, 380px);
  aspect-ratio: 1.3;
  border: 1px solid rgb(234 212 166 / 42%);
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.04);
  animation: hero-art-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-book-float {
  0%,
  100% {
    transform: rotateY(-9deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: rotateY(-5deg) rotateX(1deg) translateY(-10px);
  }
}

@keyframes hero-portrait-float {
  0%,
  100% {
    transform: rotateY(-7deg) translateY(0);
  }
  50% {
    transform: rotateY(-3deg) translateY(-7px);
  }
}

@keyframes hero-art-drift {
  from {
    transform: scale(1.01) translateY(0);
  }
  to {
    transform: scale(1.055) translateY(-6px);
  }
}

@media (max-width: 700px) {
  .page-hero,
  .author-page-hero,
  .journal-page-hero,
  .article-page-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 68px 24px 42px;
  }

  .page-hero::after {
    background-position: 58% center;
  }

  .page-hero::before {
    background:
      linear-gradient(90deg, rgb(5 13 11 / 90%), rgb(5 13 11 / 56%)),
      linear-gradient(0deg, #07120f 0%, transparent 36%);
  }

  .page-hero .page-hero-art {
    min-height: 270px;
    margin-top: 8px;
  }

  .page-hero .page-hero-art::before {
    width: min(82vw, 340px);
  }

  .page-hero .page-hero-art::after {
    inset: auto 8% auto auto;
    top: 8%;
  }

  .page-hero .page-hero-art img {
    max-height: none;
  }

  .book-page-hero .page-hero-art img,
  .page-hero .author-photo-hero img {
    height: min(44vh, 340px);
  }

  .page-hero .journal-art img,
  .page-hero .article-hero-art img,
  .page-hero .reviews-hero-art img,
  .page-hero .contact-hero-art img {
    width: min(100%, 390px);
    height: min(34vh, 250px);
    border-radius: 16px;
  }

}
