@font-face {
  font-family: "Mrs Saint Delafield";
  src: url("MrsSaintDelafield-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --sand: #eaddc9;
  --paper: #fbf8f2;
  --cream: #f7f2e8;
  --gold: #b9872e;
  --gold-deep: #b9872e;
  --gold-pale: #e1c996;
  --brown: #584132;
  --brown-soft: #6d5748;
  --cta: #7a5035;
  --button: #c39b86;
  --button-hover: #b68972;
  --white: #fffdf8;
  --line: rgba(62, 45, 34, 0.26);
  --shadow: 0 24px 54px rgba(62, 45, 34, 0.2);
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--gold-deep);
  font-weight: 400;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 4.3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brown);
  text-shadow: 0 0 0.01px currentColor;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1.15;
}

p {
  margin-top: 0;
  text-wrap: pretty;
}

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

.section {
  padding: 88px 0 96px;
}

.kicker {
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 27px;
  border: 1px solid var(--button);
  border-radius: 0;
  background: var(--button);
  color: #3e2d22;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 44px;
  padding: 10px 19px;
  font-size: 0.94rem;
}

.button-secondary {
  border-color: rgba(62, 45, 34, 0.58);
  background: var(--paper);
  color: var(--brown);
}

.button-secondary:hover {
  border-color: var(--brown);
  background: var(--paper);
  color: var(--brown);
}

.text-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold-deep);
  color: var(--brown);
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease;
}

.text-link:hover {
  color: var(--gold-deep);
  border-color: var(--brown);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(213, 168, 75, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--brown);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-brand::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  background: url("images/flower.png") center / contain no-repeat;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 17px;
}

.main-nav > a:not(.button) {
  text-decoration: none;
  transition: color 200ms ease;
}

.main-nav > a:not(.button):hover {
  color: var(--gold-deep);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(680px, calc(100svh - 76px), 760px);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(247, 242, 232, 0.98) 0%,
      rgba(247, 242, 232, 0.92) 25%,
      rgba(247, 242, 232, 0.62) 42%,
      rgba(247, 242, 232, 0.16) 60%,
      rgba(247, 242, 232, 0) 72%
    ),
    url("images/HERO.jpg") 61% center / cover no-repeat;
}

.hero::after {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 650px;
  padding: 32px 0 38px;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 29px;
  font-size: clamp(5.2rem, 7.7vw, 7.65rem);
  line-height: 0.9;
  letter-spacing: -0.036em;
  color: var(--brown);
  text-shadow: 0 0 0.01px currentColor;
}

.hero h1 em {
  display: inline-block;
  padding-bottom: 0.08em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 555px;
  margin-bottom: 36px;
  color: var(--brown-soft);
  font-size: clamp(1.12rem, 1.5vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.book-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(251, 248, 242, 0.68), rgba(251, 248, 242, 0.68)),
    url("images/viraghatter.jpg") center / cover;
}

.book-intro::before {
  content: none;
}

.intro-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.62fr);
  min-height: 520px;
  align-items: stretch;
  border-top: 7px solid var(--gold);
  background: var(--paper);
}

.intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 82px);
}

.intro-content h2 {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: clamp(3.2rem, 5.2vw, 5.2rem);
  color: var(--brown);
}

.intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  max-width: 790px;
  color: var(--brown-soft);
}

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

.intro-image {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

.intro-image::before {
  content: none;
}

.intro-image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 52% bottom;
  filter: contrast(1.05) saturate(0.84);
  transform: scale(1.035);
}

.familiar {
  background: var(--sand);
}

.center-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.center-heading > p:last-child {
  max-width: 650px;
  margin-inline: auto;
  color: var(--brown);
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.path-list li {
  position: relative;
  min-height: 270px;
  padding: 34px 34px 36px;
  overflow: hidden;
  border: 0;
  background: var(--paper);
}

.path-list li::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 92px;
  aspect-ratio: 1;
  background: url("images/flower.png") center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.path-list li:first-child {
  padding: 34px 34px 36px;
  background: var(--cream);
}

.path-list li:last-child {
  padding: 34px 34px 36px;
  background: #d8b7a6;
}

.path-list li:nth-child(2) {
  margin: 0;
  background: #917462;
  color: var(--paper);
}

.path-list li:nth-child(2)::after {
  top: 16px;
  right: 18px;
  left: auto;
  width: 92px;
  background-image: url("images/flowerwhite.png");
  filter: none;
  opacity: 0.9;
  transform: none;
}

.path-list li:nth-child(2) .path-number,
.path-list li:nth-child(2) h3,
.path-list li:nth-child(2) p {
  color: var(--paper);
}

.path-list li:nth-child(2) .path-number,
.path-list li:last-child .path-number {
  color: #ffffff;
}

.path-list li:first-child .path-number {
  color: #917462;
}

.path-list h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

.path-number {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 0.8;
}

.path-list p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--brown-soft);
  font-size: 17px;
}

.themes {
  background: var(--white);
}

.themes-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(56px, 8vw, 104px);
}

.themes-image {
  position: relative;
  width: calc(100% + 34px);
  margin-left: -34px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.themes-image::after {
  content: none;
}

.themes-image img {
  aspect-ratio: 0.96;
  object-fit: cover;
  object-position: 54% center;
  box-shadow: 18px 22px 0 var(--sand), 0 30px 70px rgba(62, 45, 34, 0.18);
}

.themes-copy h2 {
  max-width: 620px;
}

.theme-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1fr;
  gap: 26px;
  padding: 23px 0;
}

.theme-list article + article {
  border-top: 1px solid var(--line);
}

.theme-list h3,
.theme-list p {
  margin-bottom: 0;
}

.theme-list p {
  color: var(--brown-soft);
  font-size: 17px;
}

.excerpt {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  padding-top: 148px;
  padding-bottom: 154px;
  margin-bottom: -110px;
  background: linear-gradient(to bottom, var(--white) 0 calc(100% - 110px), transparent calc(100% - 110px));
}

.excerpt::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--sand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 10 C170 16 305 14 470 9 C645 3 815 2 1000 8 L1000 90 C830 85 680 86 520 90 C350 96 175 98 0 91 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 10 C170 16 305 14 470 9 C645 3 815 2 1000 8 L1000 90 C830 85 680 86 520 90 C350 96 175 98 0 91 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.excerpt-inner {
  max-width: 950px;
  text-align: center;
}

.excerpt-inner::before {
  content: none;
}

.excerpt blockquote {
  margin: 0 auto 28px;
  font-size: clamp(1.85rem, 3.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--brown);
  text-shadow: 0 0 0.01px currentColor;
}

.book-cta {
  position: relative;
  z-index: 1;
  padding-top: 218px;
  padding-bottom: 116px;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.72) 0%, rgba(247, 242, 232, 0.84) 48%, rgba(247, 242, 232, 0.95) 100%),
    url("images/viragok.jpg") center / cover;
}

.book-cta-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: clamp(68px, 10vw, 132px);
}

.book-scene {
  position: relative;
  min-height: 535px;
  display: grid;
  place-items: center;
  margin: 0;
}

.book-cover-image {
  width: min(430px, 92%);
  height: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(22px 28px 24px rgba(88, 65, 50, 0.2));
}

.book-cta-copy {
  max-width: 610px;
}

.book-cta-copy p:not(.kicker) {
  margin-bottom: 31px;
  color: var(--brown-soft);
}

.author {
  background: var(--white);
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(58px, 7vw, 92px);
}

.author-portrait {
  width: 100%;
  max-width: 410px;
  margin: 0;
  justify-self: center;
  aspect-ratio: 0.68;
  overflow: hidden;
  background: transparent;
  filter: drop-shadow(0 24px 28px rgba(88, 65, 50, 0.18));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 50 C0 22 22 0 50 0 C78 0 100 22 100 50 L100 150 L0 150 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 50 C0 22 22 0 50 0 C78 0 100 22 100 50 L100 150 L0 150 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.portrait-single {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.author-copy {
  max-width: 720px;
}

.author-copy h2 {
  color: #8a6045;
  font-size: clamp(2.9rem, 4.7vw, 3.55rem);
  white-space: nowrap;
}

.author-welcome {
  display: inline-block;
  margin: 0 0 40px;
  color: #2d2019;
  font-family: "Mrs Saint Delafield", cursive;
  font-size: clamp(2.7rem, 3.8vw, 3.9rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.author-copy p:not(.kicker):not(.author-welcome) {
  color: #171412;
  font-size: 17px;
}

.author-copy .text-link {
  margin-top: 9px;
}

.purchase-cta {
  display: flex;
  min-height: 590px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(145, 116, 98, 0.96) 0%, rgba(145, 116, 98, 0.9) 31%, rgba(145, 116, 98, 0.54) 48%, rgba(145, 116, 98, 0) 65%),
    url("images/cta1.jpg") 62% 64% / cover no-repeat;
}

.purchase-cta h2 {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.purchase-cta p {
  max-width: 520px;
  margin-bottom: 34px;
  color: var(--white);
  font-size: 17px;
}

.purchase-cta .button {
  border-color: var(--button);
  background: var(--button);
  color: #3e2d22;
}

.purchase-cta .button:hover {
  border-color: var(--button-hover);
  background: var(--button-hover);
  color: #3e2d22;
}

.contact {
  background:
    linear-gradient(rgba(247, 242, 232, 0.84), rgba(247, 242, 232, 0.84)),
    url("images/viragok.jpg") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1000px);
  justify-content: center;
  gap: 28px;
}

.contact-copy {
  text-align: center;
}

.contact-copy p:not(.kicker):not(.form-status) {
  max-width: 1000px;
  margin-inline: auto;
  color: var(--brown-soft);
}

.contact-form {
  width: 100%;
  max-width: 820px;
  justify-self: center;
  padding: 36px;
  border-top: 6px solid var(--gold);
  background: var(--paper);
}

.contact-form > .button {
  display: flex;
  width: fit-content;
  min-width: 260px;
  margin-inline: auto;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(73, 57, 46, 0.28);
  border-radius: 0;
  background: var(--paper);
  color: var(--brown);
}

.field input {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 126px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--gold-deep);
}

.form-status {
  min-height: 1.6em;
  margin-top: 26px;
  color: var(--cta);
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: #917462;
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-inner p {
  margin-bottom: 0;
  color: rgba(251, 248, 242, 0.8);
  font-size: 0.9rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  color: rgba(251, 248, 242, 0.86);
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .main-nav {
    gap: 18px;
    font-size: 17px;
  }

  .main-nav .button {
    display: none;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 8vw, 6.2rem);
  }

  .themes-grid,
  .author-grid {
    gap: 58px;
  }

  .author-grid {
    grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
  }

  .author-copy h2 {
    font-size: clamp(2.55rem, 5.1vw, 3.2rem);
  }

}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 66px 0 72px;
  }

  h1 {
    font-size: clamp(3.35rem, 15vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
  }

  .site-header {
    position: relative;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--brown);
    transition: transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    min-height: calc(100dvh - 74px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    font-size: 1.16rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a:not(.button) {
    width: 100%;
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .button {
    display: inline-flex;
    width: 100%;
    margin-top: 26px;
  }

  .hero {
    min-height: 700px;
    align-items: flex-start;
    padding: 0;
    background:
      linear-gradient(
        180deg,
        rgba(247, 242, 232, 0.98) 0%,
        rgba(247, 242, 232, 0.91) 47%,
        rgba(247, 242, 232, 0.42) 73%,
        rgba(247, 242, 232, 0.08) 100%
      ),
      url("images/HERO.jpg") 62% center / cover no-repeat;
  }

  .intro-shell,
  .themes-grid,
  .book-cta-grid,
  .author-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 44px;
    padding: 28px 0 36px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(3.9rem, 16vw, 5.3rem);
  }

  .hero-lead {
    margin-bottom: 28px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .button {
    min-width: 220px;
    white-space: nowrap;
  }

  .intro-shell {
    min-height: 0;
  }

  .intro-content {
    padding: 42px 28px 46px;
  }

  .intro-content h2 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .intro-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .intro-image {
    min-height: 310px;
  }

  .intro-image img {
    height: 310px;
  }

  .center-heading {
    margin-bottom: 42px;
  }

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

  .path-list li,
  .path-list li:first-child,
  .path-list li:last-child {
    display: grid;
    min-height: 0;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    padding: 30px 26px 32px;
    border-left: 0;
  }

  .path-list li:first-child {
    padding: 30px 26px 32px;
  }

  .path-list li:last-child {
    padding: 30px 26px 32px;
  }

  .path-list li:nth-child(2) {
    margin: 0;
  }

  .path-list li::after {
    width: 48px;
  }

  .path-list li:nth-child(2)::after {
    width: 43px;
  }

  .path-list h3 {
    padding-right: 54px;
  }

  .path-number {
    grid-row: 1 / 3;
    margin: 2px 0 0;
    font-size: 2.5rem;
  }

  .themes-grid {
    gap: 64px;
  }

  .themes-image {
    width: 100%;
    margin-left: 0;
  }

  .themes-image img {
    aspect-ratio: 1.04;
  }

  .theme-list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .excerpt {
    padding-top: 106px;
    padding-bottom: 112px;
    margin-bottom: -76px;
    background: linear-gradient(to bottom, var(--white) 0 calc(100% - 76px), transparent calc(100% - 76px));
  }

  .book-cta {
    padding-top: 184px;
  }

  .excerpt blockquote {
    font-size: clamp(1.75rem, 8.5vw, 2.4rem);
  }

  .book-cta-grid {
    gap: 36px;
  }

  .book-scene {
    min-height: 430px;
  }

  .book-cover-image {
    width: min(340px, 88vw);
  }

  .author-grid {
    gap: 48px;
  }

  .author-copy h2 {
    font-size: clamp(2.3rem, 10vw, 3.15rem);
    white-space: normal;
  }

  .author-portrait {
    width: 100%;
  }

  .contact-grid {
    gap: 36px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .author {
    background: var(--white);
  }

  .purchase-cta {
    min-height: 500px;
    align-items: flex-start;
    padding-top: 52px;
    padding-bottom: 55px;
    background:
      linear-gradient(180deg, rgba(145, 116, 98, 0.82) 0%, rgba(145, 116, 98, 0.72) 39%, rgba(145, 116, 98, 0.42) 63%, rgba(145, 116, 98, 0.05) 86%),
      url("images/cta1.jpg") 61% bottom / auto 108% no-repeat;
  }

  .purchase-cta h2 {
    max-width: 520px;
    font-size: clamp(2.5rem, 11.5vw, 3.5rem);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 17px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: 3.15rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
