/*
Theme Name: FARO MP – Mediterranes Licht
Theme URI: https://faro-mp.de/
Author: FARO MP
Author URI: https://faro-mp.de/
Description: Einheitliches Autoren-Theme für FARO MP mit „Die dritte Spur“ und „Die Mauern, die uns nicht retteten“.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: faro-mp
*/

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

:root {
  --bone: #f6f1e7;
  --paper: #fcfaf5;
  --navy: #071b2b;
  --navy-soft: #0d283a;
  --ink: #15222b;
  --muted: #62717a;
  --sea: #6f95a5;
  --amber: #d59a3d;
  --amber-bright: #e3aa4d;
  --line: rgba(7, 27, 43, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --shadow: 0 28px 70px rgba(4, 17, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--amber);
  color: var(--navy);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
}

.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: sticky;
  z-index: 100;
  top: 0;
  min-height: 90px;
  background: rgba(246, 241, 231, 0.94);
  border-bottom: 1px solid rgba(7, 27, 43, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 13px 11px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 42%, rgba(111, 149, 165, 0.14), transparent 30%),
    linear-gradient(135deg, #071b2b 0%, #071b2b 58%, #0b2334 100%);
  color: var(--bone);
}

.hero::before {
  position: absolute;
  content: "";
  right: 22%;
  bottom: 0;
  width: 52%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 154, 61, 0.64), transparent);
}

.hero-home {
  min-height: calc(100vh - 90px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 90px);
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  align-items: center;
  gap: 48px;
  padding-block: 72px 64px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--amber-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #9b6b25;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(58px, 6.5vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.gold-rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 30px 0 26px;
  background: var(--amber-bright);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 14px;
  color: #f3eee5;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.55;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 32px;
  color: #bfcbd0;
  font-size: 15px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

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

.button-gold {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(213, 154, 61, 0.2);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--amber-bright);
}

.button-outline-light {
  border-color: var(--amber);
  color: var(--bone);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: var(--amber);
  color: var(--navy);
}

.button-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible {
  background: var(--navy);
  color: var(--bone);
}

.availability {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  color: #a9bac2;
  font-size: 13px;
}

.availability a:hover,
.availability a:focus-visible {
  color: var(--amber-bright);
}

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

.book-stage::after {
  position: absolute;
  z-index: -1;
  content: "";
  bottom: 8%;
  width: 74%;
  height: 7%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  filter: blur(22px);
}

.book-object {
  position: relative;
  z-index: 2;
  width: min(78%, 390px);
  margin: 0;
  transform: perspective(1200px) rotateY(-7deg) rotateX(1deg);
  transform-origin: center;
  animation: bookReveal 900ms 140ms both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.book-object::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 9px;
  right: -12px;
  bottom: 9px;
  width: 18px;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(
    90deg,
    #d8d0bf 0,
    #fffdf4 2px,
    #d9d1c0 3px
  );
}

.book-object img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  border-radius: 3px 1px 1px 3px;
  box-shadow: 20px 28px 50px rgba(0, 0, 0, 0.48);
}

.beam {
  position: absolute;
  z-index: 0;
  left: -12%;
  top: 50%;
  width: 72%;
  height: 30%;
  clip-path: polygon(0 48%, 100% 0, 100% 100%);
  background: linear-gradient(90deg, rgba(213, 154, 61, 0), rgba(213, 154, 61, 0.26));
  filter: blur(2px);
  opacity: 0;
  animation: beamIn 1200ms 360ms forwards ease-out;
}

.beam-two {
  top: 55%;
  height: 22%;
  opacity: 0;
  filter: blur(12px);
}

.reveal {
  animation: revealUp 650ms both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.quote-band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.quote-band-inner {
  display: grid;
  max-width: 1040px;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 42px;
}

.quote-band blockquote {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.25;
}

.quote-band-inner > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.quote-mark {
  margin: 0;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.6;
}

.section {
  padding-block: clamp(88px, 9vw, 140px);
}

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

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 9vw;
}

.split-layout h2,
.section-heading h2,
.author-intro-grid h2,
.final-cta h2,
.page-title h1,
.content-title {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1;
}

.prose-large {
  color: #33434d;
  font-size: 18px;
  line-height: 1.85;
}

.prose-large p {
  margin-bottom: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #8b5e1d;
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.theme-section {
  background: var(--bone);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.theme-grid article {
  min-height: 330px;
  padding: 38px 30px;
  background: var(--paper);
}

.theme-grid article > span {
  color: #9c6a25;
  font-family: var(--serif);
  font-size: 20px;
}

.theme-grid h3 {
  min-height: 70px;
  margin: 64px 0 14px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.05;
}

.theme-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.book-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.book-card {
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--line);
  background: var(--bone);
}

.book-card-featured {
  background:
    linear-gradient(145deg, rgba(111, 149, 165, 0.08), transparent 44%),
    var(--paper);
  box-shadow: var(--shadow);
}

.book-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 14px 20px 38px rgba(4, 17, 28, 0.24);
}

.book-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 0.98;
}

.book-card > div > p:not(.book-status, .book-genre) {
  color: var(--muted);
  font-size: 14px;
}

.book-status,
.book-genre {
  margin-bottom: 0;
  color: #8b5e1d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.book-genre {
  margin-bottom: 22px;
  color: var(--sea);
  letter-spacing: 0.08em;
}

.book-card-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 30px;
}

.wrap-feature {
  background:
    radial-gradient(circle at 78% 24%, rgba(111, 149, 165, 0.16), transparent 34%),
    #090f14;
  color: var(--bone);
}

.wrap-feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 7vw;
}

.wrap-feature h2 {
  margin-bottom: 24px;
  color: var(--bone);
  font-size: clamp(44px, 5.4vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1;
}

.wrap-feature p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 34px;
  color: #b9c7cc;
  font-size: 17px;
}

.wrap-feature figure,
.full-cover-figure {
  margin: 0;
}

.wrap-feature figure img,
.full-cover-figure img {
  width: 100%;
  border: 1px solid rgba(246, 241, 231, 0.14);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38);
}

.reading-feature {
  background: var(--navy);
}

.reading-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid rgba(246, 241, 231, 0.14);
}

.reading-card {
  padding: clamp(48px, 6vw, 90px);
  color: var(--bone);
}

.reading-card blockquote {
  max-width: 720px;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.05;
}

.reading-card > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 32px;
  color: #b9c7cc;
}

.lighthouse-panel {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(111, 149, 165, 0.11), rgba(7, 27, 43, 0.2)),
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(246, 241, 231, 0.035) 49px 50px);
  border-left: 1px solid rgba(246, 241, 231, 0.14);
}

.lighthouse-panel::before,
.lighthouse-panel::after {
  position: absolute;
  content: "";
  top: 38%;
  width: 58%;
  height: 20%;
  background: linear-gradient(90deg, rgba(213, 154, 61, 0), rgba(213, 154, 61, 0.24));
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.lighthouse-panel::before {
  right: 49%;
}

.lighthouse-panel::after {
  left: 49%;
  transform: rotate(180deg);
}

.lighthouse-panel img {
  position: relative;
  z-index: 2;
  width: min(78%, 440px);
}

.horizon {
  position: absolute;
  right: 8%;
  bottom: 20%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.author-intro-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 9vw;
}

.author-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(213, 154, 61, 0.12), transparent 50%),
    var(--bone);
}

.author-mark img {
  width: 72%;
}

.next-books {
  background: var(--navy-soft);
  color: var(--bone);
}

.next-books .section-heading h2 {
  color: var(--bone);
}

.next-books-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.next-books-grid article {
  min-height: 320px;
  padding: 48px;
  border: 1px solid rgba(246, 241, 231, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.next-books-grid article > p:first-child {
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.next-books-grid h3 {
  margin: 56px 0 18px;
  font-size: clamp(35px, 3vw, 50px);
  line-height: 1;
}

.next-books-grid span {
  display: block;
  max-width: 530px;
  color: #b9c7cc;
}

.next-books-grid article > p:not(:first-child) {
  max-width: 700px;
  color: #b9c7cc;
}

.next-books-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.next-books-grid-single article {
  min-height: 280px;
}

.final-cta {
  padding-block: clamp(90px, 10vw, 155px);
  background:
    radial-gradient(circle at 50% 0, rgba(111, 149, 165, 0.22), transparent 42%),
    var(--navy);
  color: var(--bone);
  text-align: center;
}

.final-cta-inner {
  max-width: 890px;
}

.final-cta h2 {
  color: var(--bone);
}

.button-row-center {
  justify-content: center;
  margin-top: 36px;
}

.site-footer {
  padding-top: 72px;
  background: #04131f;
  color: #b5c1c7;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 0.7fr;
  gap: 72px;
  padding-bottom: 64px;
}

.wordmark-light {
  color: var(--bone);
}

.wordmark-light img {
  width: 52px;
  height: 52px;
}

.footer-statement {
  max-width: 390px;
  margin: 26px 0 0;
  color: #8fa1a9;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-group a {
  font-size: 14px;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--amber);
}

.footer-label {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 23px;
  border-top: 1px solid rgba(246, 241, 231, 0.11);
  color: #71858e;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Shared inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 110px 104px;
  background:
    radial-gradient(circle at 83% 40%, rgba(111, 149, 165, 0.17), transparent 28%),
    var(--navy);
  color: var(--bone);
}

.page-hero::after {
  position: absolute;
  content: "";
  right: 7%;
  bottom: 0;
  width: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.page-title {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-title h1 {
  color: var(--bone);
}

.page-title > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: #bcc9cf;
  font-size: 19px;
}

.book-page-hero {
  padding-block: 82px;
}

.book-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.72fr);
  align-items: center;
  gap: 70px;
}

.book-page-grid .page-title h1 {
  font-size: clamp(55px, 6vw, 86px);
}

.book-stage-compact {
  min-height: 570px;
}

.book-stage-compact .book-object {
  width: min(74%, 320px);
}

.thriller-hero,
.thriller-reading-hero {
  background:
    radial-gradient(circle at 82% 46%, rgba(213, 154, 61, 0.13), transparent 27%),
    linear-gradient(135deg, #050c12 0%, var(--navy) 64%, #0b2434 100%);
}

.content-section {
  padding-block: clamp(80px, 9vw, 130px);
  background: var(--paper);
}

.content-section.alt {
  background: var(--bone);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: 8vw;
}

.content-kicker {
  color: #8b5e1d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.content-body {
  max-width: 820px;
  color: #33434d;
  font-size: 18px;
}

.content-body p {
  margin-bottom: 25px;
}

.content-body h2,
.content-body h3 {
  color: var(--navy);
}

.content-body h2 {
  margin: 0 0 28px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
}

.content-body h3 {
  margin: 48px 0 14px;
  font-size: 32px;
  line-height: 1.12;
}

.statement-box {
  margin-block: 46px;
  padding: 38px 42px;
  border-left: 3px solid var(--amber);
  background: var(--bone);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.2;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.format-grid-two {
  width: min(100%, 860px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
}

.cover-detail-section {
  background: var(--paper);
}

.full-cover-figure {
  overflow: hidden;
  border-radius: 4px;
}

.full-cover-figure img {
  border-color: var(--line);
}

.format-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.format-card p:first-child {
  color: #9a6924;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.format-card h3 {
  margin: 34px 0 12px;
  font-size: 30px;
}

.format-card p:not(:first-child) {
  color: var(--muted);
  font-size: 14px;
}

.format-card .text-link {
  margin-top: auto;
}

.chapter-page {
  background: var(--paper);
}

.reading-shell {
  width: min(100% - 48px, 820px);
  margin-inline: auto;
  padding-block: 96px 130px;
}

.reading-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  color: #8b5e1d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reading-shell h2 {
  margin-bottom: 38px;
  color: var(--navy);
  font-size: clamp(46px, 6vw, 72px);
  line-height: 0.98;
}

.reading-shell .chapter-text {
  color: #293942;
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 25px);
  line-height: 1.75;
}

.chapter-text p {
  margin-bottom: 1.25em;
}

.chapter-text .opening {
  font-size: 1.25em;
  line-height: 1.45;
}

.chapter-text .opening::first-letter {
  float: left;
  margin: 9px 9px 0 0;
  color: var(--amber);
  font-size: 4.3em;
  line-height: 0.65;
}

.reading-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block: 76px 62px;
  color: var(--amber);
}

.reading-divider::before,
.reading-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.reading-end {
  margin-top: 70px;
  padding: 44px;
  background: var(--navy);
  color: var(--bone);
  text-align: center;
}

.reading-end h3 {
  margin-bottom: 14px;
  font-size: 36px;
}

.reading-end p {
  color: #b9c7cc;
}

.reading-end .button-row {
  justify-content: center;
  margin-top: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 9vw;
}

.about-logo-card {
  position: sticky;
  top: 130px;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bone);
}

.about-logo-card img {
  width: 76%;
}

.page-content img[data-faro-logo="current"],
.page-content img.faro-content-logo {
  display: block;
  width: min(100%, 300px) !important;
  height: auto !important;
  margin: 34px auto;
}

.value-list {
  display: grid;
  gap: 1px;
  margin-block: 46px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  padding: 26px 30px;
  background: var(--paper);
}

.value-list h3 {
  margin: 0;
  font-size: 25px;
}

.value-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
}

.contact-card {
  padding: 46px;
  background: var(--navy);
  color: var(--bone);
}

.contact-card h2 {
  margin-bottom: 16px;
  color: var(--bone);
  font-size: 43px;
  line-height: 1;
}

.contact-card p {
  color: #b8c6cc;
}

.email-link {
  display: block;
  margin: 34px 0 22px;
  color: var(--amber-bright);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 37px);
  overflow-wrap: anywhere;
}

.contact-types {
  display: grid;
  gap: 20px;
}

.contact-types article {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-types h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 28px;
}

.contact-types p {
  margin: 0;
  color: var(--muted);
}

.notice-box {
  margin-top: 44px;
  padding: 28px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.legal-page {
  background: var(--paper);
}

.legal-shell {
  width: min(100% - 48px, 900px);
  margin-inline: auto;
  padding-block: 90px 130px;
}

.legal-shell h2 {
  margin: 52px 0 16px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.2;
}

.legal-shell h3 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
}

.legal-shell p,
.legal-shell li {
  color: #465760;
  font-size: 15px;
}

.legal-shell a {
  color: #8b5e1d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-shell ul {
  padding-left: 22px;
}

.legal-meta {
  margin-top: 60px;
  color: var(--muted);
  font-size: 12px;
}

.legal-uppercase {
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.legal-source {
  display: inline-block;
  margin-top: 54px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--navy) !important;
  font-size: 12px !important;
  font-weight: 600;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bookReveal {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-7deg) rotateX(1deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateY(-7deg) rotateX(1deg) translateY(0);
  }
}

@keyframes beamIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .hero h1 {
    font-size: clamp(58px, 7.2vw, 80px);
  }

  .book-stage {
    min-height: 560px;
  }

  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-grid article {
    min-height: 270px;
  }

  .theme-grid h3 {
    min-height: auto;
    margin-top: 42px;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 36px, 1320px);
  }

  .site-header,
  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(7, 27, 43, 0.12);
  }

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

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero-home,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 76px 54px;
  }

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

  .book-stage {
    min-height: 520px;
  }

  .book-object {
    width: min(62%, 340px);
  }

  .quote-band-inner {
    grid-template-columns: 36px 1fr;
  }

  .quote-band-inner > p:last-child {
    display: none;
  }

  .split-layout,
  .author-intro-grid,
  .reading-grid,
  .wrap-feature-grid,
  .book-page-grid,
  .content-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .reading-card {
    order: 2;
  }

  .lighthouse-panel {
    min-height: 390px;
    border-bottom: 1px solid rgba(246, 241, 231, 0.14);
    border-left: 0;
  }

  .author-mark,
  .about-logo-card {
    max-width: 470px;
  }

  .about-logo-card {
    position: relative;
    top: auto;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: 32px;
  }

  .book-page-grid .book-stage {
    order: -1;
  }

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

  .book-collection-grid {
    grid-template-columns: 1fr;
  }

  .format-card {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .shell,
  .reading-shell,
  .legal-shell {
    width: min(100% - 28px, 1320px);
  }

  .wordmark {
    font-size: 21px;
  }

  .wordmark img {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-grid {
    padding-top: 58px;
  }

  .button-row .button {
    width: 100%;
  }

  .availability {
    justify-content: center;
  }

  .book-stage {
    min-height: 460px;
  }

  .book-object {
    width: min(70%, 290px);
  }

  .quote-band-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quote-mark {
    height: 32px;
  }

  .section {
    padding-block: 78px;
  }

  .theme-grid,
  .next-books-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .book-card > img {
    width: min(68%, 250px);
    margin-inline: auto;
  }

  .book-card-links .button {
    width: 100%;
  }

  .wrap-feature-grid {
    gap: 48px;
  }

  .theme-grid article {
    min-height: 250px;
  }

  .reading-card,
  .next-books-grid article,
  .contact-card {
    padding: 36px 26px;
  }

  .lighthouse-panel {
    min-height: 330px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-hero {
    padding-block: 82px;
  }

  .book-page-hero {
    padding-block: 48px 76px;
  }

  .content-section {
    padding-block: 74px;
  }

  .statement-box {
    padding: 28px 25px;
  }

  .reading-shell {
    padding-block: 74px 96px;
  }

  .reading-end {
    padding: 34px 22px;
  }

  .value-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

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

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

body.admin-bar .site-header {
  top: 32px;
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content h2,
.page-content h3 {
  color: var(--navy);
}

.page-content h2 {
  margin: 54px 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.page-content h3 {
  margin: 36px 0 12px;
  font-size: 28px;
}

.page-content p,
.page-content li {
  color: #465760;
}

.page-content a {
  color: #8b5e1d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
