/* =========================================================
   BethLinehanAuthor.com
   Master Stylesheet: /assets/bla.css

   Section Order:
   1. VARIABLES
   2. BASE
   3. LAYOUT
   4. COMPONENTS
   5. UTILITIES
   6. PAGE SECTIONS
   7. HEADER
   8. FOOTER
   9. GENERATEPRESS OVERRIDES
   ========================================================= */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/literata-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-bold.woff2") format("woff2");
}


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
  --bg: #fcf8ef;
  --bg-alt: #f7f1e4;
  --bg-card: #fffdf8;
  --bg-band: #526b50;

  --text: #2f2a26;
  --text-soft: #5f5750;
  --text-on-dark: #fffaf2;

  --heading: #2b211b;
  --border-soft: rgba(47, 42, 38, 0.12);

  --brand: #526b50;
  --brand-dark: #3e553e;
  --accent: #9a482a;
  --accent-dark: #7d361f;

  --link: #7b5d2f;
  --link-hover: #5f4723;

  --shadow-soft: 0 10px 30px rgba(47, 42, 38, 0.08);
  --shadow-card: 0 8px 24px rgba(47, 42, 38, 0.06);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --container: 1200px;
  --container-narrow: 860px;
  --content-narrow: 720px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;

  --header-pad-y: 1rem;
  --header-pad-x: 1.25rem;
  --bla-header-h: 84px;

  --font-heading: "Baloo 2", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;

  --transition: 0.25s ease;
}


/* =========================================================
   2. BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  padding-top: var(--bla-header-h);
}

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

figure {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

p,
ul,
ol,
blockquote {
  margin: 0 0 1.15em;
}

ul,
ol {
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}

h3,
.h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.2rem;
}

small {
  font-size: 0.875rem;
}

strong {
  font-weight: 700;
}

blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--brand);
  color: var(--text-soft);
}

hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: var(--space-6) 0;
}

input,
textarea,
select,
button {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}


/* =========================================================
   3. LAYOUT
   ========================================================= */

.bla-page {
  width: 100%;
  overflow: clip;
}

main[id^="bla-"] {
  width: 100%;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt,
.section--alt {
  background: var(--bg-alt);
}

.band-brand {
  background: var(--bg-band);
  color: var(--text-on-dark);
}

.band-brand h1,
.band-brand h2,
.band-brand h3,
.band-brand h4,
.band-brand h5,
.band-brand h6,
.band-brand p,
.band-brand li,
.band-brand .eyebrow,
.band-brand .tagline {
  color: var(--text-on-dark);
}

.band-brand .card,
.band-brand .figure {
  color: var(--text);
}

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

.container-narrow {
  width: min(100% - 2rem, var(--container-narrow));
  margin-inline: auto;
}

.content-narrow {
  width: min(100% - 2rem, var(--content-narrow));
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: var(--space-5);
}

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

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

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.stack-sm > * + * {
  margin-top: var(--space-2);
}

.center {
  text-align: center;
}

@media (max-width: 900px) {
  .cols-2,
  .cols-3 {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   4. COMPONENTS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff8f3;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
  color: #fff8f3;
}

.btn-accent {
  background: var(--accent);
  color: #f8fff4;
  box-shadow: var(--shadow-soft);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent-dark);
  color: #f8fff4;
}

.btn-link {
  padding-inline: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--link);
  border-radius: 0;
  box-shadow: none;
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--link-hover);
  transform: none;
}

.card {
  height: 100%;
  padding: clamp(1.4rem, 2vw, 1.75rem);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.figure {
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.figure img {
  width: 100%;
  height: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  background: rgba(198, 93, 52, 0.1);
  border: 1px solid rgba(198, 93, 52, 0.16);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-weight: 700;
}

.link-pill::after {
  content: "→";
  transition: transform var(--transition);
}

.link-pill:hover::after,
.link-pill:focus-visible::after {
  transform: translateX(2px);
}

.eyebrow {
  display: inline-block;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tagline {
  max-width: 42rem;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}


/* =========================================================
   5. UTILITIES
   ========================================================= */

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cluster.center {
  justify-content: center;
}

/* =========================================================
   6. PAGE SECTIONS
   ========================================================= */

/* Home */

.page-hero {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.home-hero-grid,
.home-featured-book {
  align-items: center;
}

.home-hero-photo img,
.home-featured-book img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home-book-tags {
  gap: var(--space-2);
}

.home-book-tags .chip {
  margin: 0;
}

@media (max-width: 900px) {
  .home-hero {
    text-align: center;
  }

  .home-hero .tagline {
    margin-inline: auto;
  }

  .home-hero .cluster,
  .section .cluster.center {
    justify-content: center;
  }
}

/* About */

.about-hero-grid,
.about-story-grid {
  align-items: center;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-values-card {
  max-width: 34rem;
}

.about-values-list {
  margin: 0;
  padding-left: 1.2em;
}

.about-books-grid {
  margin-top: var(--space-6);
}

.about-book-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-book-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-books-cta {
  margin-top: var(--space-6);
}

@media (max-width: 900px) {
  .about-hero,
  .about-story-grid {
    text-align: center;
  }

  .about-hero .cluster,
  .about-books-cta,
  .section .cluster.center {
    justify-content: center;
  }

  .about-values-card {
    max-width: none;
  }
}

/* About Hero */

.about-portrait {
  max-width: 380px;
  margin-right: auto;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.about-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.3rem);
  line-height: 1.25;
}

/* Books */

.books-hero {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.books-hero-grid {
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.books-hero-copy {
  max-width: 38rem;
}

.books-hero .tagline {
  margin-inline: 0;
}

.books-hero-art {
  display: flex;
  justify-content: center;
}

.books-hero-stack {
  position: relative;
  width: min(100%, 480px);
  min-height: 440px;
}

.books-hero-thumb {
  position: absolute;
  width: clamp(130px, 26vw, 185px);
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f1e4 0%, #efe6d6 100%);
  box-shadow: 0 16px 36px rgba(47, 42, 38, 0.14);
}

.books-hero-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.books-hero-thumb-1 {
  left: 0;
  top: 5.5rem;
  transform: rotate(-8deg);
  z-index: 1;
}

.books-hero-thumb-2 {
  left: 50%;
  top: 0;
  transform: translateX(-50%) rotate(-1deg);
  z-index: 3;
}

.books-hero-thumb-3 {
  right: 0;
  top: 6.5rem;
  transform: rotate(8deg);
  z-index: 2;
}

.books-intro-note {
  max-width: 46rem;
  margin-inline: auto;
  color: var(--text-soft);
}

.books-grid {
  align-items: start;
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.book-cover {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, #f7f1e4 0%, #efe6d6 100%);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card .stack-sm {
  flex: 1 1 auto;
}

.book-card p {
  color: var(--text-soft);
}

.book-meta {
  gap: var(--space-2);
}

.book-meta .chip {
  margin: 0;
}

.book-actions {
  margin-top: auto;
  gap: var(--space-2);
  align-items: center;
}

.book-subtitle {
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: -0.15rem;
}

.books-featured {
  align-items: center;
}

.books-featured-cover {
  max-width: 420px;
}

.books-featured-copy .tagline {
  max-width: 38rem;
}

.books-feature-points {
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.books-feature-points li + li {
  margin-top: 0.45rem;
}

.books-cta-card {
  padding: clamp(1.5rem, 2.2vw, 2rem);
}

@media (max-width: 900px) {
  .books-hero,
  .books-featured-copy {
    text-align: center;
  }

  .books-hero-copy {
    max-width: none;
  }

  .books-hero .cluster,
  .books-featured-copy .cluster,
  .book-actions,
  .section .cluster.center {
    justify-content: center;
  }

  .books-hero-stack {
    width: min(100%, 360px);
    min-height: 360px;
    margin-inline: auto;
  }

  .books-hero-thumb {
    width: 140px;
  }

  .books-hero-thumb-1 {
    left: 0;
    top: 5rem;
  }

  .books-hero-thumb-2 {
    top: 0;
  }

  .books-hero-thumb-3 {
    right: 0;
    top: 5.75rem;
  }

  .books-featured-cover {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .books-hero-stack {
    width: min(100%, 310px);
    min-height: 315px;
  }

  .books-hero-thumb {
    width: 118px;
  }

  .books-hero-thumb-1 {
    top: 4.75rem;
  }

  .books-hero-thumb-3 {
    top: 5.1rem;
  }
}

.books-cta {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* Blog */

.blog-hero {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.blog-grid {
  align-items: start;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.blog-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: -0.35rem;
}

/* Blog */

.blog-hero {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.blog-featured {
  align-items: center;
}

.blog-featured-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-featured-copy .tagline {
  max-width: 38rem;
}

.blog-grid {
  align-items: start;
  margin-top: var(--space-6);
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.blog-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-top: -0.2rem;
}

.blog-empty-state {
  padding-top: var(--space-4);
}

.blog-signup-wrap .tagline {
  margin-inline: auto;
}

.blog-signup-card {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--bg-card);
  color: var(--text);
  text-align: left;
}

.blog-signup-card p:last-child {
  margin-bottom: 0;
}

.blog-signup-card .ff-el-group,
.blog-signup-card .ff-t-cell,
.blog-signup-card .ff_submit_btn_wrapper {
  margin-bottom: 1rem;
}

.blog-signup-card input[type="text"],
.blog-signup-card input[type="email"],
.blog-signup-card textarea,
.blog-signup-card select {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
}

.blog-signup-card textarea {
  min-height: 140px;
}

.blog-signup-card input:focus,
.blog-signup-card textarea:focus,
.blog-signup-card select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-color: var(--brand);
}

.blog-signup-card .ff-btn,
.blog-signup-card .ff_submit_btn_wrapper button,
.blog-signup-card .ff_submit_btn_wrapper .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent) !important;
  color: #f8fff4 !important;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.blog-signup-card .ff-btn:hover,
.blog-signup-card .ff-btn:focus-visible,
.blog-signup-card .ff_submit_btn_wrapper button:hover,
.blog-signup-card .ff_submit_btn_wrapper button:focus-visible,
.blog-signup-card .ff_submit_btn_wrapper .ff-btn-submit:hover,
.blog-signup-card .ff_submit_btn_wrapper .ff-btn-submit:focus-visible {
  background: var(--accent-dark) !important;
  color: #f8fff4 !important;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .blog-signup-card {
    text-align: left;
  }
}

/* =========================================================
   7. HEADER
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(250, 243, 224, 0.96);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 84px;
  padding-block: var(--header-pad-y);
}

.header-brand {
  flex: 0 0 auto;
}

.header-brand a {
  display: inline-flex;
  align-items: center;
}

.header-brand img {
  display: block;
  max-height: 88px;
  width: auto;
}

.header-nav {
  flex: 1 1 auto;
}

.header-nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav li {
  margin: 0;
}

.header-nav a {
  color: var(--text);
  font-weight: 700;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--brand-dark);
}

.header-nav .btn-primary,
.header-nav .btn-primary:hover,
.header-nav .btn-primary:focus-visible {
  color: #fff8f3;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--heading);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
  }

  .header-nav.is-open {
    display: block;
  }

  .header-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  .header-nav a {
    display: block;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius-sm);
  }

  .header-nav a:hover,
  .header-nav a:focus-visible {
    background: rgba(198, 93, 52, 0.08);
  }
}


/* =========================================================
   8. FOOTER
   ========================================================= */

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #2f2a26;
  color: #f5ede3;
}

.site-footer a {
  color: #f8d8c6;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.site-footer .btn-primary {
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.3fr 1fr 1fr;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer li {
  color: inherit;
}

.site-footer .footer-heading {
  font-size: 1.2rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 300px;
  max-height: 96px;
}

.footer-links a {
  font-weight: 600;
}

.site-credit {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(245, 237, 227, 0.12);
}

.site-credit p {
  color: rgba(245, 237, 227, 0.82);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   9. GENERATEPRESS OVERRIDES
   ========================================================= */

.separate-containers .inside-article,
.one-container .container,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation,
.one-container .site-content {
  background: transparent;
}

#page {
  background: var(--bg);
}

.site-content {
  padding-top: 0;
  padding-bottom: 0;
}

.content-area,
.site-main {
  width: 100%;
}

.right-sidebar .content-area,
.left-sidebar .content-area,
.both-sidebars .content-area {
  width: 100%;
}

.right-sidebar .site-content .widget-area,
.left-sidebar .site-content .widget-area,
.both-sidebars .site-content .widget-area {
  display: none;
}

.entry-content {
  margin: 0;
}

.entry-content > [class*="wp-block-"],
.entry-content > .section,
.entry-content > .container,
.entry-content > .content-narrow {
  margin-bottom: 0;
}

.entry-content .alignwide,
.entry-content .alignfull {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-header,
.entry-header {
  display: none;
}

.site-main .post-navigation,
.site-main .comments-area {
  width: min(100% - 2rem, var(--content-narrow));
  margin-inline: auto;
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

/* Keep footer bar visible, remove only default GP credit */
.site-info {
  background: #2f2a26;
  border-top: 0;
  padding: 0;
}

.inside-site-info {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.footer-bar {
  width: 100%;
}

.site-info .copyright-bar {
  display: none;
}

/* =========================================================
   PRIORITY 1: BOOK-LED AUTHOR PLATFORM
   ========================================================= */

:root {
  --bg: #f8f5ed;
  --bg-alt: #eee9dc;
  --bg-card: #fffdf8;
  --bg-band: #2f5d50;
  --text: #29302e;
  --text-soft: #5b625d;
  --text-on-dark: #fffdf8;
  --heading: #243d36;
  --border-soft: rgba(36, 61, 54, 0.18);
  --brand: #2f5d50;
  --brand-dark: #24473d;
  --accent: #b65a3d;
  --accent-dark: #8e3f29;
  --link: #2f5d50;
  --link-hover: #8e3f29;
  --shadow-soft: 0 14px 35px rgba(36, 61, 54, 0.08);
  --shadow-card: 0 8px 22px rgba(36, 61, 54, 0.07);
  --radius-sm: 0.25rem;
  --radius-md: 0.4rem;
  --radius-lg: 0.6rem;
  --radius-xl: 0.75rem;
  --font-heading: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--heading);
}

.lead {
  font-size: clamp(1.16rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.book-edition {
  color: var(--accent-dark);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  border-bottom: 2px solid currentColor;
  color: var(--link);
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--link-hover);
}

.home-intro,
.books-intro,
.about-intro,
.visits-intro {
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.94), rgba(248, 245, 237, 0.72)),
    var(--bg);
}

.home-intro-grid,
.home-featured-grid,
.home-audience-grid,
.home-visits-grid,
.coming-next-grid,
.books-intro-grid,
.about-intro-grid,
.about-story-grid,
.about-themes-grid,
.about-current-grid,
.visits-intro-grid,
.visits-form-grid,
.book-detail-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.home-intro-copy {
  max-width: 680px;
}

.home-intro-portrait,
.about-portrait {
  justify-self: end;
  width: min(100%, 410px);
}

.home-intro-portrait img,
.about-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50% 50% 0 50%;
  box-shadow: var(--shadow-soft);
}

.home-featured-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.featured-book-cover,
.coming-next-cover {
  width: min(100%, 390px);
  justify-self: start;
}

.featured-book-cover img,
.coming-next-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.home-book-shelf,
.books-grid,
.resource-teasers {
  align-items: start;
}

.editorial-card,
.resource-teaser,
.book-row,
.resource-row,
.visit-callout,
.about-current-note,
.books-intro-note,
.about-pullquote {
  border-top: 3px solid var(--brand);
  background: transparent;
}

.editorial-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.home-book-cover,
.book-cover {
  display: block;
  overflow: hidden;
  background: #e8e0d0;
}

.home-book-cover img,
.book-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-book-cover:hover img,
.home-book-cover:focus-visible img,
.book-cover:hover img,
.book-cover:focus-visible img {
  transform: scale(1.025);
}

.home-audience-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.audience-notes {
  display: grid;
  gap: 1.25rem;
}

.audience-note {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.audience-note strong {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.audience-note span {
  color: var(--text-soft);
}

.home-visits-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
}

.visit-callout,
.about-current-note,
.books-intro-note {
  display: grid;
  gap: 1rem;
  align-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.visit-callout .chip,
.about-current-note .chip {
  width: fit-content;
}

.home-coming-next,
.books-coming-next {
  background: var(--brand-dark);
  color: var(--text-on-dark);
}

.home-coming-next h2,
.books-coming-next h2,
.home-coming-next p,
.books-coming-next p,
.home-coming-next .lead,
.books-coming-next .lead {
  color: var(--text-on-dark);
}

.home-coming-next .eyebrow,
.books-coming-next .eyebrow {
  color: #f4d6a0;
}

.home-coming-next .text-link,
.books-coming-next .text-link {
  color: #f4d6a0;
}

.home-coming-next .text-link:hover,
.home-coming-next .text-link:focus-visible,
.books-coming-next .text-link:hover,
.books-coming-next .text-link:focus-visible {
  color: #fffdf8;
}

.home-newsletter {
  background: var(--bg);
}

.newsletter-form-wrap {
  width: min(100%, 620px);
  margin-inline: auto;
}

.newsletter-form-wrap .ff-el-group,
.newsletter-form-wrap .ff_submit_btn_wrapper {
  margin-bottom: 0.75rem;
}

.books-intro-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.65fr);
}

.books-intro-note {
  align-self: stretch;
}

.book-detail-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.book-detail-cover {
  width: min(100%, 430px);
}

.book-detail-cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.book-detail-copy {
  max-width: 700px;
}

.book-detail-sections {
  max-width: var(--container-narrow);
}

.related-books {
  align-items: start;
}

.book-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.book-row-cover img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
}

.resource-teaser {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 220px;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.resource-number {
  color: var(--accent-dark);
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.resources-intro {
  max-width: 950px;
  margin-inline: auto;
}

.resource-list {
  display: grid;
  gap: 0;
}

.resource-row {
  display: grid;
  align-items: center;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.resource-row-index {
  color: var(--accent-dark);
  font-size: 2rem;
}

.resource-row-action {
  display: grid;
  justify-items: end;
  gap: 0.5rem;
}

.resource-file-note,
.form-boundary {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.visits-intro-grid,
.visits-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
}

.field-list {
  margin: 0;
  padding-left: 1.2rem;
}

.field-list li + li {
  margin-top: 0.25rem;
}

.visit-form-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
}

.notice-box {
  padding: 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
}

.notice-box p {
  margin: 0.5rem 0 0;
}

.about-story-grid,
.about-themes-grid,
.about-current-grid {
  align-items: start;
}

.about-pullquote {
  margin: 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.about-pullquote p {
  margin: 0 0 0.75rem;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.about-pullquote cite {
  color: var(--text-soft);
  font-style: normal;
}

.about-themes-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-themes-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.about-themes-list strong {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.about-themes-list span {
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .home-intro-grid,
  .home-featured-grid,
  .home-audience-grid,
  .home-visits-grid,
  .coming-next-grid,
  .books-intro-grid,
  .about-intro-grid,
  .about-story-grid,
  .about-themes-grid,
  .about-current-grid,
  .visits-intro-grid,
  .visits-form-grid,
  .book-detail-grid {
    grid-template-columns: 1fr;
  }

  .home-intro-portrait,
  .about-portrait,
  .featured-book-cover,
  .coming-next-cover,
  .book-detail-cover {
    justify-self: start;
  }

  .home-intro-portrait,
  .about-portrait {
    order: -1;
  }

  .resource-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .resource-row-action {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }

  .book-row {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .book-row-cover img {
    width: 90px;
  }
}

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

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