/*
Theme Name: Pat Anyaegbunam
Description: Block theme for Pat Anyaegbunam. Every section of the home page is built from editable Gutenberg blocks.
Author: HT Logics
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pat-anyaegbunam
*/

:root {
  --background: oklch(0.985 0.004 85);
  --foreground: #000;
  --primary: #000;
  --primary-foreground: oklch(0.985 0.004 85);
  --secondary: oklch(0.94 0.009 85);
  --muted: oklch(0.955 0.007 85);
  --muted-foreground: oklch(0.51 0.015 155);
  --border: oklch(0.87 0.009 85);
  --highlight: oklch(0.78 0.11 83);
  --font-body: "DM Sans", sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
  --shadow-dialog: 0 20px 90px oklch(0.2 0.02 155 / 0.18);
}
* {
  box-sizing: border-box;
  border-color: var(--border);
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 0;
}
.wrap {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.site-header {
  height: 106px;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}
.wordmark {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;    color: #000;
}
.wordmark span {
  display: block;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
}
.desktop-nav a:not(.nav-newsletter) {
  padding-block: 14px;
}
.desktop-nav a:not(.nav-newsletter):hover,
.desktop-nav a.active {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.nav-newsletter {
  background: #000;
  color: var(--primary-foreground);
  padding: 13px 21px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-toggle {
  display: none !important;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}
.home-hero {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: var(--muted);
}
.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-position:right;
  object-fit:cover
}
.hero-content {
  position: relative;
  padding-top: 86px;
  padding-bottom: 75px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: 73px;
  line-height: 1.06;
  margin: 25px 0 25px;
  max-width: 610px;
  color:#000;
}
.hero-content h1 em {
  color: #000;
  font-weight: 400;
}
.hero-content p {
  max-width: 385px;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}
.editorial-button {
    height: 48px !important;
    border-radius: 3px !important;
    font-size: 14px !important;
    padding-inline: 25px !important;
    box-shadow: none !important;
    gap: 20px !important;
}
.hero-footnote {
  font-size: 12px !important;
  margin-top: 22px;
  color: var(--muted-foreground);
}
.hero-footnote span {
  margin-inline: 8px;
}
.intro-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.intro-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.intro-inner p {
  font-family: var(--font-display);
  font-size: 26px;
}
.pillars {
  display: flex;
  gap: 31px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.pillars span:before {
  content: "✦";
  color: var(--primary);
  margin-right: 12px;
}
.section {
  padding-block: 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: 39px;
  line-height: 1.2;
  margin-top: 13px;
}
.text-link {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 7px;
  white-space: nowrap;
}
.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
}
.discover-card {
  min-width: 0;
}
.tile-image {
  height: 245px;
  overflow: hidden;
  background: var(--secondary);
  position: relative;
}
.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
a:hover .tile-image img {
  transform: scale(1.035);
}
.book-tile img {
  object-position: 83% 50%;
  width: 170%;
  max-width: none;
  transform: translateX(-38%);
}
a:hover .book-tile img {
  transform: translateX(-38%) scale(1.03);
}
.letter-tile {
  background: #000;
  color: var(--primary-foreground);
  padding: 31px;
}
.letter-tile .mini {
  font-size: 12px;
  letter-spacing: 2px;
}
.letter-tile p {
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1.12;
  max-width: 250px;
  margin-top: 22px;
}
.letter-tile .letter-bottom {
  position: absolute;
  bottom: 24px;
  left: 31px;
  right: 31px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  align-items: center;
}
.card-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  padding-top: 20px;
}
.card-caption .category {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.card-caption h3 {
  font-family: var(--font-display);
  font-size: 25px;
  margin-top: 7px;margin-bottom: 7px;
}
.card-caption svg {
  margin-top: 14px;
  width: 19px;
}
.about-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 68px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-grid h2 {
  font-family: var(--font-display);
  font-size: 46px;
  margin-top: 15px;
  line-height: 1.13;
}
.about-copy p {
    font-size: 15px;
    line-height: 20px;
    color: var(--muted-foreground);
    margin: 20px 0 30px;
}
.newsletter-band {
  background: #000;
  color: var(--primary-foreground);
  padding: 65px 0;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.newsletter-grid h2 {
  font-family: var(--font-display);
  font-size: 39px;
  margin-block: 15px 12px;
}
.newsletter-grid p {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.8;
}
.subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-bottom: 1px solid var(--primary-foreground);
  padding-bottom: 9px;
  gap: 12px;
}
.subscribe-row input {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 12px 0;
  color: inherit;
  outline-offset: 3px;
  font-size: 16px;
}
.subscribe-row input::placeholder {
  color: var(--primary-foreground);
  opacity: 0.75;
}
.subscribe-button {
  background: var(--primary-foreground) !important;
  color: var(--primary) !important;
  border-radius: 3px !important;
  font-size: 12px !important;
}
.form-note {
  font-size: 14px !important;
  margin-top: 12px;
}
.form-result {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
}
.site-footer {
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 21px;    color: #000;
}
.footer-inner small {
  font-size: 14px;
  color: var(--muted-foreground);
}
section.page-top {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 120px 0 108px; border-bottom: 0; color: #fff;
  background: #111 url("/wp-content/uploads/2026/10/editorial-stairs.jpg") center 42% / cover no-repeat;
}
section.page-top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .6) 52%, rgba(0, 0, 0, .28) 100%);
}
section.page-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: -1;
  background: linear-gradient(90deg, #c9a24a 0, #c9a24a 140px, rgba(255, 255, 255, .18) 140px, rgba(255, 255, 255, .18) 100%);
}
section.page-top > .wrap { position: relative; }
section.page-top h1 { margin: 22px 0 20px; color: #fff; }
section.page-top p.eyebrow,
section.page-top .wp-block-post-date { color: #fff; }
section.page-top .wrap > p:not(.eyebrow) { max-width: 580px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .86); }

@media (max-width: 767px) {
  section.page-top { padding: 76px 0 68px; background-position: 68% center; }
  section.page-top::before { background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .6) 100%); }
  section.page-top .wrap > p:not(.eyebrow) { font-size: 16px; }
}
.page-top {
  padding: 75px 0 55px;
  border-bottom: 1px solid var(--border);
}
.page-top h1 {
  font-family: var(--font-display);
  font-size: 65px;
  line-height: 1.12;
  margin: 22px 0;
}
.page-top p {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted-foreground);
}
.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.article-item {
  border-top: 1px solid var(--border);
  padding-top: 25px;
}
.article-item small {
  font-size: 10px;
  color: var(--muted-foreground);
}
.article-item h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 15px 0;
  line-height: 1.25;
}
.article-item p {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}
.book-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.book-detail h2 {
  font-family: var(--font-display);
  font-size: 43px;
  margin-bottom: 23px;
}
.book-detail p {
  line-height: 1.9;
  color: var(--muted-foreground);
  margin-bottom: 25px;
  font-size: 15px;
}
.quote {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.45;
  max-width: 750px;
  margin: auto;
  text-align: center;
}
.quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  margin-top: 25px;
  color: var(--muted-foreground);
}
.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--foreground) 40%, transparent);
  display: grid;
  place-items: center;
  padding: 25px;
}
.reading-dialog {
  position: relative;
  background: var(--background);
  padding: 48px;
  max-width: 660px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  border-radius: 4px;
  box-shadow: var(--shadow-dialog);
}
.reading-dialog h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  margin: 20px 0;
}
.reading-dialog p {
  font-size: 15px;
  line-height: 1.9;
  margin: 18px 0;
  color: var(--muted-foreground);
}
.close-dialog {
  position: absolute;
  top: 12px;
  right: 12px;
}
.mobile-nav {
  display: none;
}
@media (min-width: 1600px) {
  .home-hero {
    min-height: 690px;
  }
  .hero-image {
    object-position: center 55%;
  }
  .hero-content {
    padding-top: 112px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 20px;
  }
  .hero-content h1 {
    font-size: 63px;
    max-width: 490px;
  }
  .home-hero {
    min-height: 580px;
  }
  .hero-content {
    padding-top: 70px;
  }
  .hero-image {
    object-position: 55% center;
  }
  .pillars {
    gap: 18px;
  }
  .tile-image {
    height: 215px;
  }
  .letter-tile p {
    font-size: 29px;
  }
  .about-grid,
  .newsletter-grid {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 80px;
  }
  .wordmark {
    font-size: 16px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
  .mobile-nav {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--background);
    z-index: 20;
    padding: 20px;
    flex-direction: column;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .home-hero {
    min-height: 810px;
  }
  .hero-content {
    padding-top: 42px;
    padding-bottom: 0;
  }
  .hero-content h1 {
    font-size: 51px;
    line-height: 1.05;
    max-width: 100%;
    margin: 20px 0;
  }
  .hero-content p {
    max-width: 330px;
    font-size: 14px;
  }
  .hero-image {
    top: auto;
    bottom: 0;
    height: 370px;
    object-fit: cover;
    object-position: 78% center;
    width: 150%;
    max-width: none;
    right: 0;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 23px;
  }
  .editorial-button {
    padding-inline: 18px !important;
  }
  .hero-footnote {
    margin-top: 17px !important;
  }
  .intro-inner {
    display: block;
  }
  .intro-inner p {
    font-size: 20px;
  }
  .pillars {
    gap: 15px;
    margin-top: 18px;
    flex-wrap: wrap;
    font-size: 8px;
  }
  .pillars span:before {
    margin-right: 7px;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .section-heading {
    align-items: center;
  }
  .section-heading > .text-link {
    font-size: 10px;
    gap: 6px;
  }
  .discover-grid,
  .about-grid,
  .newsletter-grid,
  .article-list,
  .book-detail {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .tile-image {
    height: 270px;
  }
  .letter-tile p {
    font-size: 36px;
  }
  .about-band {
    padding-block: 50px;
  }
  .about-grid h2 {
    font-size: 37px;
  }
  .newsletter-band {
    padding-block: 45px;
  }
  .newsletter-grid h2 {
    font-size: 34px;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .page-top {
    padding: 50px 0 35px;
  }
  .page-top h1 {
    font-size: 46px;
  }
  .reading-dialog {
    padding: 32px 25px;
  }
  .quote {
    font-size: 29px;
  }
  .book-detail h2 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.btn {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 3px;
  min-height: 38px;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-color: var(--primary-foreground);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--foreground);
  --bs-btn-hover-border-color: var(--foreground);
  --bs-btn-hover-color: var(--primary-foreground);
}
.btn-outline-primary {
  --bs-btn-color: var(--foreground);
  --bs-btn-border-color: var(--border);
  --bs-btn-hover-bg: var(--secondary);
  --bs-btn-hover-color: var(--foreground);
  --bs-btn-hover-border-color: var(--primary);
}
.btn-link {
  color: var(--primary);
}
.bootstrap-mobile-nav {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--background);
  z-index: 20;
  border-bottom: 1px solid var(--border);
  padding: 20px;
}
.bootstrap-mobile-nav a {
  display: block;
  padding: 10px 0;
}
.modal-content {
  background: var(--background);
  border-radius: 4px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 30px;
}
.modal-body p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.modal-header,
.modal-body {
  padding: 25px;
}
.static-discover {
  margin-top: 0;
}
.static-discover > div,
.static-discover > a {
  margin-top: 0;
}
@media (min-width: 768px) {
  .bootstrap-mobile-nav {
    display: none !important;
  }
}
.author-portrait {
  margin: 0;
  position: relative;
}
.author-portrait img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
  box-shadow: 0 24px 60px -30px oklch(0.2 0.02 155 / 0.45);
}
.author-portrait figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 18px;
}
.author-portrait figcaption span {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.2;
}
.author-portrait figcaption small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.about-grid.author-profile-grid {
    grid-template-columns: 810px minmax(0,1fr);
    gap: 50px;
}
.author-facts {
  list-style: none;
  margin: 28px 0 26px;
  padding: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  border-top: 1px solid var(--border);
}
.author-facts li {
  font-size: 16px;
}
.author-facts li span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 7px;
}
@media (max-width: 767px) {
  .about-grid.author-profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .author-portrait img {
    height: 400px;
  }
  .author-facts {
    gap: 14px 28px;
  }
}
.book-reading{border-bottom:1px solid var(--border)}
.book-reading-layout {
    grid-template-columns: minmax(0,520px) minmax(0,1fr);
    align-items: start;
    gap: 32px;
    display: grid;
}	
.book-reading-side{position:sticky;top:96px}.book-reading-figure{margin:0}.book-cover-frame{border:1px solid var(--border);border-radius:18px;position:relative;overflow:hidden;box-shadow:0 26px 60px -34px oklch(34% .052 158/.4)}.book-cover-frame img{width:100%;height:auto;display:block}.book-cover-frame:after{content:"";pointer-events:none;border:1px solid oklch(98.5% .004 85/.5);border-radius:10px;position:absolute;inset:16px}.book-cover-caption{align-items:baseline;gap:10px;margin-top:16px;display:flex}.book-cover-caption span{font-family:var(--font-display);color:#000;font-size:20px}.book-cover-caption small{letter-spacing:.18em;text-transform:uppercase;color:var(--muted-foreground);font-size:12px}.book-reading-copy{max-width:720px}.book-reading-copy h2{font-family:var(--font-display);overflow-wrap:anywhere;margin-bottom:32px;font-size:38px;line-height:1.25}
.book-reading-copy p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 21px;
}.book-reading-motto{font-family:var(--font-display);color:#000;margin-top:30px;font-size:28px}

.read-toggle{border:1px solid var(--primary);color:var(--primary);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:8px;padding:9px 20px;font-size:14px;font-weight:600;display:inline-flex;     margin: 20px 0 0;}

.read-toggle:hover{background:#000;color:var(--primary-foreground)}
.read-toggle svg{transition:transform .25s}
.read-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.editorial-button{border:1px solid var(--primary);justify-content:center;align-items:center;display:inline-flex}
.btn-primary{background:#000;color:var(--primary-foreground)}.btn-outline-primary{border-color:var(--border);background:0 0}
.subscribe-button{background:var(--background)!important;color:var(--primary)!important}
.menu-toggle{color:var(--foreground);background:0 0}

@media (max-width: 767px) {
    .book-reading-copy h2{font-size:29px}

.book-reading-layout{grid-template-columns:minmax(0,1fr);gap:36px}
.book-reading-side{position:static}
.book-reading-motto{font-size:23px}

}

.availability-band { 
  border-top: 1px solid var(--border);
  background: var(--secondary);
  padding-block: 66px;
}

.availability-inner {
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 70px;
  display: grid;
}

.availability-copy h2 {
  font-family: var(--font-display);
  margin: 16px 0 15px;
  font-size: 40px;
  line-height: 1.14;
}

.availability-copy h2 em {
  font-weight: 400;
}

.availability-copy p {
  color: var(--muted-foreground);
  line-height: 1.85;
}

.store-list {
  gap: 14px;
  display: grid;
}

.store-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 3px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  transition: border-color .3s, box-shadow .3s;
  display: flex;
}

.store-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 45px -34px oklch(20% .02 155 / .55);
}

.store-text {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.store-format {
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-size: 9px;
  font-weight: 600;
}

.store-name {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.15;
}

.store-text small {
  color: var(--muted-foreground);
}

.store-card svg {
  color: var(--primary);
  flex: none;
}
@media (max-width: 1100px) {
  .availability-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
@media (max-width: 767px) {
  .availability-band {
    padding-block: 44px;
  }

  .availability-copy h2 {
    font-size: 32px;
  }

  .store-card {
    padding: 17px 18px;
  }

  .store-name {
    font-size: 22px;
  }
}
/* =========================================================
   Gutenberg block overrides
   (the rules above come from the original static design)
   ========================================================= */
:root {
  --arrow-ur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
  --arrow-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.wp-site-blocks { padding: 0; }
.wp-block-image { margin: 0; }
.wp-block-group.wrap { margin-inline: auto; }

/* icons drawn with CSS so editors never touch SVG markup */
.text-link::after,
.nav-newsletter .wp-block-navigation-item__content::after,
.arrow-up-right .wp-block-button__link::after,
.arrow-right .wp-block-button__link::after,
.card-caption::after,
.store-card::after,
.letter-bottom::after,
.subscribe-button::after,
.read-more summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--arrow-ur) center / contain no-repeat;
  mask: var(--arrow-ur) center / contain no-repeat;
}
.arrow-right .wp-block-button__link::after { -webkit-mask-image: var(--arrow-r); mask-image: var(--arrow-r); }
.read-more summary::after { -webkit-mask-image: var(--chevron); mask-image: var(--chevron); width: 16px; height: 16px; transition: transform .25s; }
.read-more[open] summary::after { transform: rotate(180deg); }

/* header */
.wordmark { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.15; }
.wordmark a { display: block; width: min-content; text-transform: uppercase; color: #000; }
.wordmark a::after { content: "."; }
.wp-block-navigation.desktop-nav { display: flex; font-size: 16px; font-weight: 500; gap: 0; }
.desktop-nav .wp-block-navigation__container { gap: 32px; }
.desktop-nav .wp-block-navigation-item__content { padding-block: 14px; }
.desktop-nav .wp-block-navigation-item:not(.nav-newsletter) .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 7px; }
.wp-block-navigation .nav-newsletter { background: none; padding: 0; border-radius: 0; display: block; }
.desktop-nav .nav-newsletter .wp-block-navigation-item__content {
  display: inline-flex; align-items: center; gap: 14px;
  background: #000; color: var(--primary-foreground);
  padding: 13px 21px; border-radius: 3px;
}
.nav-newsletter .wp-block-navigation-item__content::after { width: 14px; height: 14px; }
.wp-block-navigation__responsive-container-open { color: var(--foreground); }

/* mobile menu overlay */
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--background) !important; color: #000; padding: 20px !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start !important; padding-top: 36px;
}
.is-menu-open .wp-block-navigation__container { align-items: flex-start !important; justify-content: flex-start !important; gap: 0; width: 100%; }
.is-menu-open .wp-block-navigation-item { justify-content: flex-start !important; text-align: left; }
.is-menu-open .wp-block-navigation-item__content { width: 100%; }
.is-menu-open .nav-newsletter .wp-block-navigation-item__content { width: auto; }
.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--border); }
.is-menu-open .wp-block-navigation-item__content { font-family: var(--font-display); font-size: 30px; font-weight: 400; padding: 16px 0; }
.is-menu-open .wp-block-navigation-item.nav-newsletter { border: 0; margin-top: 24px; width: auto; }
.is-menu-open .desktop-nav .nav-newsletter .wp-block-navigation-item__content,
.is-menu-open .nav-newsletter .wp-block-navigation-item__content {
  display: inline-flex; font-family: var(--font-body); font-size: 16px; font-weight: 500; padding: 14px 24px;
  background: #000; color: var(--primary-foreground); border-radius: 3px;
}

/* hero */
.home-hero { display: block; }
figure.hero-image { position: absolute !important; inset: 0; margin: 0; width: 100%; height: 100%; }
figure.hero-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right; }
.hero-content .eyebrow { max-width: none; color: inherit; font-size: 12px; line-height: 1.5; }
.wp-block-buttons.hero-actions { display: flex; flex-wrap: nowrap; gap: 14px; align-items: center; margin-top: 30px; }
.wp-block-button.editorial-button { display: block; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; gap: 0 !important; }
.wp-block-button.editorial-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  height: 48px; padding: 0 25px; font-size: 14px; font-weight: 400; line-height: 1;
  border: 1px solid #000; border-radius: 3px; box-shadow: none;
  background: #000; color: var(--primary-foreground);
}
.wp-block-button.is-style-outline.editorial-button .wp-block-button__link {
  background: transparent; color: var(--foreground); border: 1px solid var(--border);
}
.wp-block-button.is-style-outline.editorial-button .wp-block-button__link:hover { background: var(--secondary); border-color: #000; }
.wp-block-button.editorial-button .wp-block-button__link::after { width: 18px; height: 18px; }
.hero-content p.hero-footnote { font-size: 12px; margin-top: 22px; }

/* eyebrow labels are paragraphs now, so reset inherited paragraph rules */
.wp-block-group p.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0; max-width: none; opacity: 1;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.5;
  letter-spacing: 2px; text-transform: uppercase; color: inherit;
}
.wp-block-group p.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.book-reading-copy .eyebrow + h2 { margin-top: 15px; }

/* intro strip */
.intro-inner .pillars p {
  margin: 0; font-family: var(--font-body); font-size: inherit; font-weight: 500;
  letter-spacing: 1.1px; text-transform: uppercase;
}
.pillars p::before { content: "✦"; margin-right: 12px; }

/* book section */
.book-reading-side figure { margin: 0; }
figure.book-cover-frame { position: relative; margin: 0; }
figure.book-cover-frame img { width: 100%; height: auto; display: block; }
p.book-cover-caption {
  display: flex; align-items: baseline; gap: 10px; margin: 16px 0 0;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-foreground);
}
p.book-cover-caption strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: 0; color: #000; }
.book-reading-copy .read-more summary {
  list-style: none; margin: 20px 0 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--primary); border-radius: 999px; padding: 9px 20px;
  font-size: 14px; font-weight: 600; color: var(--primary);
}
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary:hover { background: #000; color: var(--primary-foreground); }
.read-more[open] summary { margin-bottom: 20px; }
.book-reading-copy p.book-reading-motto { font-family: var(--font-display); color: #000; margin-top: 30px; font-size: 28px; line-height: 1.3; }

/* section heading + links */
.wp-block-group p.text-link {
  display: inline-flex; align-items: center; gap: 14px; width: fit-content; max-width: none;
  margin: 0; padding-bottom: 7px; font-size: 16px; line-height: 1.5; color: #000;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.text-link::after { width: 15px; height: 15px; }
.section-heading > .wp-block-group > h2 { margin-top: 13px; }

/* discover cards */
.discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.discover-card { position: relative; min-width: 0; }
figure.tile-image { margin: 0; height: 245px; overflow: hidden; background: var(--secondary); position: relative; }
figure.tile-image img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s; }
figure.book-tile img { object-position: 83% 50%; width: 170%; transform: translateX(-38%); }
.discover-card:hover figure.tile-image img { transform: scale(1.035); }
.discover-card:hover figure.book-tile img { transform: translateX(-38%) scale(1.03); }
.card-caption::after { width: 19px; height: 19px; margin-top: 14px; }
.card-caption h3 a::after { content: ""; position: absolute; inset: 0; }
.card-caption p { line-height: 1.5; }
.letter-tile p { margin: 0; }
.letter-tile p.mini { font-family: var(--font-body); font-size: 12px; letter-spacing: 2px; line-height: 1.5; margin: 0; }
.letter-tile p.letter-title { font-family: var(--font-display); font-size: 29px; line-height: 1.12; max-width: 250px; margin-top: 22px; }
.letter-tile p.letter-bottom {
  position: absolute; bottom: 24px; left: 31px; right: 31px; margin: 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 14px; line-height: 1.5; max-width: none;
}
.letter-bottom::after { width: 19px; height: 19px; }

/* about */
.about-copy .author-facts p { margin: 0; font-size: 16px; line-height: 1.5; color: #000; }
.about-copy .author-facts p.fact-label {
  margin-bottom: 7px; font-size: 10px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted-foreground);
}
.about-copy p.eyebrow, .about-copy p.text-link { margin: 0; }
.about-copy h2 + p { margin-top: 20px; }
figure.author-portrait { margin: 0; position: relative; }
figure.author-portrait img { width: 100%; height: 470px; max-width: none; object-fit: cover; object-position: center 20%; border-radius: 4px; }
figure.author-portrait figcaption {
  margin: 18px 0 0; text-align: left; font-size: 9px; font-weight: 600; line-height: 1.6;
  letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted-foreground);
}
figure.author-portrait figcaption strong { display: block; margin-bottom: 5px; font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #000; }
figure.author-portrait figcaption br { display: none; }

/* newsletter */
.newsletter-grid p.eyebrow { opacity: 1; }
.subscribe-button {
  display: inline-flex; align-items: center; gap: 14px; min-height: 38px; padding: 6px 12px;
  border: 1px solid transparent; font-weight: 400; cursor: pointer;
}
.subscribe-button::after { width: 15px; height: 15px; }

/* where to buy */
.availability-copy p.eyebrow { color: inherit; }
.store-card {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 6px; align-items: center;
}
.store-card > p { grid-column: 1; margin: 0; line-height: 1.5; }
.store-card::after { grid-column: 2; grid-row: 1 / span 3; width: 18px; height: 18px; color: var(--primary); }
p.store-format { letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted-foreground); font-size: 9px; font-weight: 600; }
p.store-name { font-family: var(--font-display); font-size: 25px; line-height: 1.15; }
p.store-name a::after { content: ""; position: absolute; inset: 0; }
p.store-note { color: var(--muted-foreground); font-size: 14px; }

/* footer */
.footer-brand { margin: 0; font-family: var(--font-display); font-size: 21px; }
.footer-brand a { color: #000; }
.footer-copy { margin: 0; font-size: 14px; color: var(--muted-foreground); }
.site-footer .text-link::after { width: 14px; height: 14px; }

/* footer link is a navigation block */
.footer-link .wp-block-navigation__container { gap: 0; }
.footer-link .wp-block-navigation-item__content {
  display: inline-flex; align-items: center; gap: 14px; padding: 0 0 7px;
  font-size: 16px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.footer-link .wp-block-navigation-item__content::after {
  content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--arrow-ur) center / contain no-repeat; mask: var(--arrow-ur) center / contain no-repeat;
}

/* article grid + prose */
ul.discover-grid { list-style: none; margin: 0; padding: 0; }
.wp-block-query-pagination { margin-top: 50px; }
.wp-block-post-excerpt { margin: 0; }
.wp-block-post-featured-image.tile-image img { width: 100%; height: 100%; object-fit: cover; }
.page-top .wrap > h1.wp-block-heading { font-family: var(--font-display); font-size: 65px; line-height: 1.12; margin: 22px 0; }
.prose { max-width: 720px; }
.prose p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; color: var(--muted-foreground); }

/* newsletter page */
.nl-hero { background: var(--secondary); padding: 60px 0; }
.nl-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
figure.nl-image { margin: 0; }
figure.nl-image img { width: 100%; height: 460px; max-width: none; object-fit: cover; object-position: center 20%; border-radius: 28px; display: block; }
.nl-hero-copy h1 { font-family: var(--font-display); font-size: 65px; line-height: 1.1; margin: 20px 0; }
.nl-hero-copy p:not(.eyebrow) { max-width: 460px; font-size: 17px; line-height: 1.8; color: var(--muted-foreground); }
.nl-hero-copy .wp-block-buttons { margin-top: 28px; }
.wp-block-group.wrap.nl-body { width: min(680px, calc(100% - 40px)); }
.nl-body h2 { font-family: var(--font-display); font-size: 38px; line-height: 1.2; margin-bottom: 20px; }
.nl-body p { font-size: 16px; line-height: 1.8; color: var(--muted-foreground); margin-bottom: 16px; }
.nl-body .check-list { list-style: none; margin: 8px 0 24px; padding: 0; }
.nl-body .check-list li { position: relative; padding-left: 32px; margin-bottom: 14px; line-height: 1.6; }
.nl-body .check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: #000;
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E"); }
.signup-section { padding-top: 0; }
.signup-card { max-width: 760px; margin: 0 auto; padding: 52px 48px; background: var(--secondary); border-radius: 24px; text-align: center; }
.signup-card h2 { font-family: var(--font-display); font-size: 36px; line-height: 1.2; }
.signup-card > p { margin: 12px 0 28px; color: var(--muted-foreground); line-height: 1.7; }
.signup-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signup-fields input[type="text"], .signup-fields input[type="email"] {
  width: 100%; padding: 15px 18px; font-size: 16px; background: #fff;
  border: 1px solid var(--border); border-radius: 10px; color: #000;
}
.signup-form .consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 22px; text-align: left; font-size: 13px; line-height: 1.5; color: var(--muted-foreground); }
.signup-form .consent input { margin-top: 2px; flex: none; accent-color: #000; }
.signup-button { width: 100%; min-height: 52px; background: #000; color: var(--primary-foreground); border: 0; border-radius: 10px; font-size: 15px; font-weight: 600; }
.signup-button:hover { background: #222; }
.signup-form .form-result { font-size: 13px; text-align: center; }

/* inner pages & blog list */
.page-top .wp-block-post-title { font-family: var(--font-display); font-size: 65px; line-height: 1.12; margin: 22px 0; }
.page-top .wp-block-post-content { margin-top: 30px; line-height: 1.8; }
.page-top .wp-block-post-content > * + * { margin-top: 1em; }

.nav-newsletter:hover a {color: #fff !important;}
/* legal pages + footer legal links */
.legal h2 { font-family: var(--font-display); font-size: 28px; line-height: 1.25; margin: 20px 0 12px; }
.legal > h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.8; color: #222; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.single-post main p { color: #000;max-width:100%; }

/* single post + sidebar */
.page-top .wp-block-post-date {
  margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.page-top .wp-block-post-date::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.post-main { min-width: 0; }
.post-main figure.post-hero { margin: 0 0 36px; }
.post-main figure.post-hero img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 4px; display: block; }
.post-main .wp-block-post-content { font-size: 17px; line-height: 1.85; }
.post-main .wp-block-post-content > * + * { margin-top: 1.2em; }
.post-main .wp-block-post-content h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.25; margin-top: 1.6em; }
.post-main .wp-block-post-content h3 { font-family: var(--font-display); font-size: 26px; line-height: 1.3; margin-top: 1.4em; }
.post-main .wp-block-post-content a { text-decoration: underline; text-underline-offset: 3px; }
.post-main .wp-block-post-content img { max-width: 100%; height: auto; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-nav > * { max-width: 48%; font-size: 15px; }
.post-nav .wp-block-post-navigation-link a { font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.post-sidebar { position: sticky; top: 24px; display: grid; gap: 24px; }
.side-card { padding: 28px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.side-card .side-title { font-family: var(--font-display); font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
.side-card p { font-size: 15px; line-height: 1.7; color: var(--muted-foreground); }
.side-about figure.side-portrait { margin: 0 0 20px; }
.side-about figure.side-portrait img { width: 100%; height: 260px; max-width: none; object-fit: cover; object-position: center 20%; border-radius: 4px; display: block; }
.side-about p.text-link { margin-top: 18px; }
.side-recent .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.side-recent .wp-block-post-template > li { padding: 14px 0; border-top: 1px solid var(--border); }
.side-recent .wp-block-post-template > li:first-child { border-top: 0; padding-top: 0; }
.side-recent .wp-block-post-title { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.3; }
.side-recent .wp-block-post-title a:hover { text-decoration: underline; }
.side-recent .wp-block-post-date { margin-top: 4px; font-size: 12px; color: var(--muted-foreground); }
.side-card.side-newsletter { background: #000; border-color: #000; color: var(--primary-foreground); }
.side-newsletter .side-title { color: var(--primary-foreground); }
.side-newsletter p { color: rgba(251, 250, 246, .8); }
.side-newsletter .wp-block-group p.eyebrow, .side-newsletter p.eyebrow { color: var(--primary-foreground); margin-bottom: 14px; }
.side-newsletter .wp-block-buttons { margin-top: 22px; }
.side-newsletter .wp-block-button.editorial-button .wp-block-button__link { background: var(--background); color: #000; border-color: var(--background); }



/* testimonials carousel */
.testimonials { background: var(--secondary); padding-block: 96px; }

/* fallback without JavaScript: a swipeable row of simple cards */
ul.testimonial-track {
  list-style: none; margin: 0; padding: 6px 2px 26px;
  display: flex; gap: 24px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.testimonial-track > li { flex: 0 0 min(420px, 86%); scroll-snap-align: start; display: flex; }
.testimonial-card {
  position: relative; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: 6px;
}
.testimonial-quote { flex: 1; }
.testimonial-quote p { margin: 0; font-size: 16px; line-height: 1.75; color: #222; }
.testimonial-person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border); }
figure.testimonial-avatar { margin: 0; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--secondary); }
figure.testimonial-avatar img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.testimonial-name { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.2; }
.testimonial-role { margin: 3px 0 0; }
.testimonial-role p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted-foreground); }

/* carousel mode (the script adds .is-carousel): one testimonial at a time, editorial layout */
.testimonial-slider.is-carousel { --t-photo: 340px; --t-gap: 88px; }
.is-carousel .t-viewport { overflow: hidden; touch-action: pan-y; transition: height .45s ease; }
.is-carousel .t-viewport:focus-visible { outline: 2px solid #000; outline-offset: 6px; }
.is-carousel ul.testimonial-track {
  max-width: none; padding: 0; gap: 0; overflow: visible; scroll-snap-type: none; align-items: flex-start;
  transition: transform .6s cubic-bezier(.22, .8, .24, 1); will-change: transform;
}
.is-carousel ul.testimonial-track.is-dragging { transition: none; cursor: grabbing; user-select: none; }
.is-carousel .testimonial-track > li { flex: 0 0 100%; min-width: 0; display: block; padding: 0 16px 18px 0; scroll-snap-align: none; }

.is-carousel .testimonial-card {
  display: grid; grid-template-columns: var(--t-photo) minmax(0, 1fr); column-gap: var(--t-gap); row-gap: 0;
  grid-template-areas: "photo quote" "photo who";   align-items: baseline;
  padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.is-carousel .testimonial-person { display: contents; }
.is-carousel figure.testimonial-avatar {
  grid-area: photo; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 4px;
  box-shadow: 16px 16px 0 rgba(201, 162, 74, .55);
}
.is-carousel figure.testimonial-avatar img { object-position: 55% 38%; }
.is-carousel .testimonial-card:not(:has(.testimonial-avatar)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "quote" "who"; }

.is-carousel .testimonial-quote { grid-area: quote; align-self: end; padding-bottom: 30px; }
.is-carousel .testimonial-quote::before {
  content: "\201C"; display: block; height: 58px; margin-bottom: 6px;
  font-family: var(--font-display); font-size: 140px; line-height: .8; color: #c9a24a;
}
.is-carousel .testimonial-quote p {
  font-family: var(--font-display); font-size: 29px; line-height: 1.45; color: #111; overflow-wrap: anywhere;
}
.is-carousel .q-medium .testimonial-quote p { font-size: 23px; line-height: 1.55; }
.is-carousel .q-long .testimonial-quote p { font-family: var(--font-body); font-size: 18px; line-height: 1.8; color: #222; }

.is-carousel .testimonial-who { grid-area: who; align-self: start; padding-top: 22px; position: relative; }
.is-carousel .testimonial-who::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: #c9a24a; }
.is-carousel .testimonial-name { font-size: 24px; }
.is-carousel .testimonial-role p { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }

.t-controls { display: flex; justify-content: flex-start; align-items: center; gap: 22px; margin: 34px 0 0 calc(var(--t-photo, 340px) + var(--t-gap, 88px)); }
.t-arrow {
  width: 46px; height: 46px; padding: 0; border: 1px solid #000; border-radius: 50%;
  background: transparent; color: #000; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.t-arrow::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--arrow-r) center / contain no-repeat; mask: var(--arrow-r) center / contain no-repeat;
}
.t-prev::before { transform: rotate(180deg); }
.t-arrow:hover, .t-arrow:focus-visible { background: #000; color: var(--background); }
.t-dots { display: flex; align-items: center; gap: 8px; }
.t-dot {
  position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
  background: #bdb8a8; cursor: pointer; transition: width .3s, background .3s;
}
.t-dot::after { content: ""; position: absolute; inset: -12px -4px; }
.t-dot[aria-current="true"] { width: 28px; background: #000; }
.t-dot:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

.br-3 img {border-radius: 3px;}
.t-more[hidden] { display: none; }
.t-more > * + *, .testimonial-quote > .t-more { margin-top: 1em; }
.t-toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 20px;
  border: 1px solid #000; border-radius: 999px; background: transparent; color: #000;
  font: 600 14px/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s;
}
.t-toggle::after {
  content: ""; width: 14px; height: 14px; background: currentColor; transition: transform .25s;
  -webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat;
}
.t-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.t-toggle:hover, .t-toggle:focus-visible { background: #000; color: var(--background); }
.testimonial-quote > p + p { margin-top: 1em; }

@media (max-width: 1100px) {
  .testimonial-slider.is-carousel { --t-photo: 260px; --t-gap: 48px; }
  .is-carousel .testimonial-quote p { font-size: 25px; }
  .is-carousel .q-medium .testimonial-quote p { font-size: 21px; }
  .is-carousel .q-long .testimonial-quote p { font-size: 17px; }
}
@media (max-width: 767px) {
  .testimonials { padding-block: 64px; }
  .testimonial-slider.is-carousel { --t-photo: 84px; --t-gap: 18px; }
  .is-carousel .t-viewport { margin-inline: -6px; }
  .is-carousel .testimonial-track > li { padding: 0 6px 6px; }
  .is-carousel .testimonial-card { grid-template-areas: "photo who" "quote quote"; row-gap: 26px; align-items: center; }
  .is-carousel figure.testimonial-avatar { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(201, 162, 74, .7); }
  .is-carousel .testimonial-who { align-self: center; padding-top: 0; }
  .is-carousel .testimonial-who::before { display: none; }
  .is-carousel .testimonial-name { font-size: 21px; }
  .is-carousel .testimonial-role p { font-size: 11px; letter-spacing: 1.2px; }
  .is-carousel .testimonial-quote { padding-bottom: 0; align-self: start; }
  .is-carousel .testimonial-quote::before { height: 40px; font-size: 96px; }
  .is-carousel .testimonial-quote p { font-size: 21px; line-height: 1.5; }
  .is-carousel .q-medium .testimonial-quote p { font-size: 19px; }
  .is-carousel .q-long .testimonial-quote p { font-size: 16.5px; line-height: 1.75; }
  .is-carousel .testimonial-card:not(:has(.testimonial-avatar)) { grid-template-areas: "who" "quote"; }
  .t-controls { justify-content: center; margin: 26px 0 0; gap: 16px; }
  .t-arrow { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-carousel ul.testimonial-track, .is-carousel .t-viewport, .t-dot { transition: none; }
}


@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 900px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .post-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-about, .side-newsletter { grid-column: 1 / -1; }
  .side-about { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .side-about figure.side-portrait { grid-row: 1 / span 4; margin: 0; }
  .side-about figure.side-portrait img { height: 240px; }
}
@media (max-width: 767px) {
  .post-sidebar { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .side-card { padding: 22px; }
  .side-about { display: block; }
  .side-about figure.side-portrait { margin-bottom: 18px; }
  .side-about figure.side-portrait img { height: 300px; }
  .post-main .wp-block-post-content { font-size: 16px; }
  .post-main .wp-block-post-content h2 { font-size: 26px; }
  .post-nav { flex-direction: column; }
  .post-nav > * { max-width: 100%; }
}

@media (min-width: 1600px) {
  figure.hero-image img { object-position: center 55%; }
}

/* tablet: hamburger menu below 1000px (WordPress switches at 600px by default) */
@media (max-width: 999px) {
  .desktop-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
  .desktop-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .about-grid.author-profile-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
  .hero-content h1 { font-size: 56px; }
  .nl-hero-grid { gap: 36px; }
  .nl-hero-copy h1 { font-size: 52px; }
  figure.nl-image img { height: 380px; }
  .discover-grid { gap: 20px; }
}
/* tablet portrait: stack the hero like on phones so text never sits on the book */
@media (min-width: 768px) and (max-width: 900px) {
  .discover-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero { min-height: 900px; }
  .hero-content { padding-top: 56px; }
  figure.hero-image { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 470px; }
  figure.hero-image img { object-position: 72% center; }
  .hero-content h1 { font-size: 62px; max-width: 100%; }
  .intro-inner { flex-wrap: wrap; }
  .book-reading-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .book-reading-side { position: static; }
  .availability-inner { grid-template-columns: 1fr; gap: 34px; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 767px) {
  .wp-block-navigation.desktop-nav { display: flex !important; }
  figure.hero-image { top: auto; bottom: 0; left: auto; right: 0; height: 370px; width: 150%; }
  figure.hero-image img { object-position: 78% center; }
  .wp-block-buttons.hero-actions { flex-wrap: nowrap; gap: 10px; margin-top: 23px; }
  .wp-block-button.editorial-button .wp-block-button__link { padding: 0 16px; gap: 10px; font-size: 13px; white-space: nowrap; }
  .home-hero { min-height: 840px; }
  .nl-hero { padding: 32px 0 44px; }
  .nl-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  figure.nl-image img { height: 340px; border-radius: 20px; }
  .nl-hero-copy h1 { font-size: 46px; }
  .nl-body h2 { font-size: 30px; }
  .signup-card { padding: 34px 20px; border-radius: 18px; }
  .signup-card h2 { font-size: 30px; }
  .signup-fields { grid-template-columns: 1fr; }
  .hero-content p.hero-footnote { margin-top: 17px; }
  .discover-grid { grid-template-columns: 1fr; gap: 35px; }
  figure.tile-image { height: 270px; }
  .letter-tile p.letter-title { font-size: 36px; }
  .section-heading > p.text-link { font-size: 10px; gap: 6px; }
  figure.author-portrait img { height: 400px; }
  .page-top .wp-block-post-title, .page-top .wrap > h1.wp-block-heading { font-size: 46px; }
}
