@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap');

:root {
  --ink: #211c17;
  --ink-soft: #4f473f;
  --paper: #f7f3eb;
  --paper-deep: #ede5d8;
  --white: #fffdf8;
  --olive: #62674a;
  --olive-dark: #464b34;
  --clay: #9b6443;
  --line: rgba(33, 28, 23, 0.17);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --content: 1180px;
  --shadow: 0 24px 60px rgba(35, 27, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #cf9e78;
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.muted {
  color: var(--ink-soft);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(16, 13, 10, 0.87), rgba(16, 13, 10, 0.18));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.inner-page .site-header {
  background: rgba(24, 20, 16, 0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 56px;
  flex: 0 0 auto;
  background-image: url('../images/logo-source.jpg');
  background-repeat: no-repeat;
  background-size: 220px 147px;
  background-position: -36px -44px;
}

.brand-name {
  display: grid;
  line-height: 1;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name small {
  margin-top: 0.25rem;
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.57rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding-block: 0.45rem;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-cta {
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-outline {
  border-color: currentColor;
  background: transparent;
}

.button-text {
  min-height: auto;
  padding: 0.5rem 0;
  border-radius: 0;
  border-bottom-color: currentColor;
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #221b15;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 17, 13, 0.88) 0%, rgba(22, 17, 13, 0.54) 38%, rgba(22, 17, 13, 0.02) 70%),
    url('../images/hero-window.jpg') center / cover no-repeat;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  width: min(640px, 78%);
  padding-block: 9rem 5rem;
}

.hero-kicker {
  margin-bottom: 1.4rem;
  color: rgba(255, 253, 248, 0.73);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  width: fit-content;
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(3.9rem, 9vw, 7.5rem);
  letter-spacing: -0.04em;
  text-align: center;
}

.hero h1 > span {
  display: block;
}

.hero-title-line {
  margin-top: -0.08em;
  font-size: 0.78em;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.hero-tagline {
  max-width: 520px;
  margin-bottom: 2.25rem;
  color: rgba(255, 253, 248, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
}

.hero-scroll {
  position: absolute;
  right: 2rem;
  bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.65rem;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  padding-block: clamp(5rem, 9vw, 9rem);
}

.section-tight {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3.25rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 640px;
  color: var(--ink-soft);
}

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.latest-image {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.latest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) contrast(0.95);
}

.latest-copy {
  align-self: center;
}

.latest-copy h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 5vw, 5.6rem);
  letter-spacing: -0.04em;
}

.latest-deck {
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

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

.frequency-note {
  margin-top: 2.1rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
}

.manifesto {
  color: var(--white);
  background: var(--ink);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.manifesto h2 {
  font-size: clamp(3.1rem, 6vw, 6.4rem);
  letter-spacing: -0.04em;
}

.manifesto-copy {
  max-width: 690px;
  color: rgba(255, 253, 248, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.5;
}

.manifesto-copy strong {
  color: var(--white);
  font-weight: 400;
}

.manifesto-close {
  margin-top: 2rem;
  color: #d7b997;
  font-style: italic;
}

.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.door {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid var(--line);
}

.door:last-child {
  border-right: 0;
}

.door-number {
  margin-bottom: auto;
  color: var(--clay);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.door h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 3.5vw, 4rem);
}

.door-subtitle {
  margin-bottom: 1.2rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.door a {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.book-feature {
  overflow: hidden;
  background: var(--paper-deep);
}

.book-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.book-cover-wrap {
  display: grid;
  place-items: center;
  min-height: 650px;
  position: relative;
}

.book-cover-wrap::before {
  content: "";
  width: 72%;
  aspect-ratio: 1;
  position: absolute;
  border: 1px solid rgba(33, 28, 23, 0.18);
  border-radius: 50%;
}

.book-cover {
  width: min(360px, 78%);
  aspect-ratio: 0.68;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 3rem 2.2rem;
  color: var(--white);
  background:
    linear-gradient(rgba(25, 21, 17, 0.12), rgba(25, 21, 17, 0.72)),
    url('../images/hero-window.jpg') center / cover;
  box-shadow: 18px 20px 50px rgba(48, 35, 24, 0.25);
  transform: rotate(-2deg);
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.book-cover > * {
  position: relative;
  z-index: 1;
}

.book-cover h3 {
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.book-cover p {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-copy h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.book-subtitle {
  margin-bottom: 2rem;
  color: var(--olive-dark);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
}

.soul-care-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.soul-care-art {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: url('../images/hero-window.jpg') 65% center / cover;
}

.soul-care-art::after {
  content: "Some roads are harder to walk alone.";
  max-width: 320px;
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 1.5rem;
  color: var(--white);
  background: rgba(30, 25, 20, 0.88);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.2;
}

.soul-care-copy h2,
.about-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.quiet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.quiet-links span:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  color: var(--clay);
}

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

.about-portrait {
  max-width: 470px;
  position: relative;
  margin-inline: auto;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--clay);
}

.about-portrait img {
  width: 100%;
  position: relative;
  aspect-ratio: 0.78;
  object-fit: cover;
  filter: saturate(0.82) sepia(0.08);
}

.newsletter {
  color: var(--white);
  background: var(--olive-dark);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
}

.newsletter h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  letter-spacing: -0.04em;
}

.newsletter-copy {
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.signup-form .button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 1rem;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

.page-hero {
  padding: 12rem 0 6rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 18, 14, 0.93), rgba(23, 18, 14, 0.52)),
    url('../images/hero-window.jpg') center 58% / cover;
}

.page-hero h1 {
  max-width: 10ch;
  margin-bottom: 1.1rem;
  font-size: clamp(4rem, 8vw, 7.6rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.4rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.82);
}

.story-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.story-card h2 {
  margin-bottom: 0.8rem;
  font-size: 2.15rem;
}

.story-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.story-card a {
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.prose p {
  color: var(--ink-soft);
}

.feature-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.feature-panel + .feature-panel {
  margin-top: 7rem;
  padding-top: 7rem;
  border-top: 1px solid var(--line);
}

.feature-panel h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.books-page .feature-panel {
  grid-template-columns: minmax(190px, 0.55fr) 1.45fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.books-page .feature-panel .book-cover,
.books-page .feature-panel .book-cover-image-link {
  width: min(280px, 88%);
}

.books-page .feature-panel .book-cover {
  overflow: hidden;
  padding: 2.2rem 1.6rem;
}

.books-page .forthcoming-cover {
  transform: none;
  border: 2px solid #b68d5d;
  box-shadow:
    0 0 0 8px rgba(182, 141, 93, 0.12),
    14px 18px 42px rgba(48, 35, 24, 0.2);
}

.books-page .forthcoming-cover::before {
  content: "Forthcoming";
  position: absolute;
  top: 1rem;
  right: 0;
  z-index: 2;
  padding: 0.5rem 0.8rem;
  color: var(--ink);
  background: #d9bb8a;
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.books-page .feature-panel .book-cover h3 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.books-page .feature-panel .book-cover p {
  font-size: 0.6rem;
}

.book-cover-image-link {
  width: min(360px, 78%);
  aspect-ratio: 0.68;
  display: grid;
  place-items: center;
  position: relative;
  justify-self: center;
  transition: transform 180ms ease;
}

.book-cover-image-link:hover {
  transform: translateY(-4px);
}

.book-cover-image {
  position: absolute;
  inset: 0;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  box-shadow: 18px 20px 50px rgba(48, 35, 24, 0.24);
}

.book-cover-image-crop {
  width: 100%;
  object-fit: cover;
}

.placeholder-art {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 3rem;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.placeholder-art strong {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1;
}

.devotionals-section {
  background: var(--paper-deep);
}

.devotionals-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: 4rem;
}

.devotionals-heading h2 {
  font-size: clamp(3.4rem, 6vw, 6rem);
}

.devotionals-heading > p {
  max-width: 680px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-style: italic;
}

.book-byline {
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-details {
  display: grid;
  gap: 1.3rem;
  align-content: start;
}

.contact-details a {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.contact-form {
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--olive-dark);
}

.site-footer {
  padding-block: 5rem 2rem;
  color: var(--white);
  background: #17130f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.65fr);
  gap: 3rem;
}

.footer-brand h2 {
  margin-bottom: 0.7rem;
  font-size: 2.5rem;
}

.footer-brand p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--serif);
  font-style: italic;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: #d5b998;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    place-content: center;
    gap: 1rem;
    padding: 6rem 2rem 2rem;
    background: #17130f;
    font-family: var(--serif);
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-open .site-nav {
    z-index: 90;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    position: relative;
    z-index: 100;
  }

  .site-nav .nav-cta {
    margin-top: 1rem;
    font-family: var(--sans);
    font-size: 0.8rem;
  }

  .latest-grid,
  .manifesto-inner,
  .book-grid,
  .soul-care-grid,
  .about-grid,
  .newsletter-grid,
  .feature-panel,
  .devotionals-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .devotionals-heading {
    align-items: start;
    gap: 1rem;
  }

  .books-page .feature-panel {
    grid-template-columns: minmax(180px, 0.6fr) 1.4fr;
    gap: 2rem;
  }

  .books-page .feature-panel h2 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
  }

  .latest-image {
    min-height: 500px;
  }

  .manifesto-inner {
    gap: 1rem;
  }

  .doors,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .door:nth-child(2) {
    border-right: 0;
  }

  .door:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 2rem), var(--content));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    display: none;
  }

  .brand-name strong {
    font-size: 1rem;
  }

  .hero {
    min-height: 780px;
    align-items: end;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(22, 17, 13, 0.94) 0%, rgba(22, 17, 13, 0.38) 70%),
      url('../images/hero-window.jpg') 64% center / cover no-repeat;
  }

  .hero-content {
    width: 100%;
    padding-block: 9rem 5rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  .hero-scroll {
    display: none;
  }

  .books-page .feature-panel {
    grid-template-columns: minmax(118px, 0.62fr) 1.38fr;
    align-items: start;
    gap: 1rem;
  }

  .books-page .feature-panel + .feature-panel {
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .books-page .feature-panel .book-cover,
  .books-page .feature-panel .book-cover-image-link {
    width: 100%;
    justify-self: start;
  }

  .books-page .feature-panel .book-cover {
    padding: 1.25rem 0.9rem;
  }

  .books-page .feature-panel .book-cover::after {
    inset: 0.4rem;
  }

  .books-page .feature-panel .book-cover h3 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .books-page .feature-panel .book-cover p {
    font-size: 0.45rem;
    letter-spacing: 0.1em;
  }

  .books-page .feature-panel h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 0.98;
  }

  .books-page .feature-panel .book-subtitle {
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .books-page .feature-panel > div > p:not(.eyebrow):not(.book-subtitle):not(.book-byline) {
    font-size: 0.9rem;
  }

  .books-page .feature-panel .eyebrow {
    font-size: 0.62rem;
  }

  .books-page .feature-panel .button {
    padding: 0.7rem 0.75rem;
    font-size: 0.58rem;
    text-align: center;
    white-space: normal;
  }

  .latest-image {
    min-height: 430px;
  }

  .doors,
  .story-grid,
  .signup-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .door,
  .door:nth-child(2) {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .door:last-child {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }

  .book-cover-wrap {
    min-height: 500px;
  }

  .soul-care-art {
    min-height: 430px;
  }

  .field-wide,
  .signup-form .button,
  .form-note {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
