:root {
  --cream:#f8f1e3;
  --paper:#efe5d0;
  --green:#2e3d31;
  --deep:#213127;
  --copper:#8a6740;
  --walnut:#392d23;
  --border:#b9a787;
  --muted:#675a47;
  color-scheme:light
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--cream);
  color:var(--green);
  font-family:Georgia,'Times New Roman',serif;
  line-height:1.6
}
a {
  color:inherit
}
a:focus-visible,button:focus-visible {
  outline:3px solid #d4a56a;
  outline-offset:4px
}
.skip {
  position:absolute;
  top:-100px;
  left:1rem;
  background:white;
  color:var(--green);
  z-index:100;
  padding:.5rem 1rem
}
.skip:focus {
  top:1rem
}
.site-header {
  background:var(--walnut);
  color:var(--cream);
  position:sticky;
  top:0;
  z-index:20;
  border-bottom:1px solid #ffffff20
}
.header-inner {
  max-width:1200px;
  margin:auto;
  min-height:76px;
  padding:1rem 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem
}
.brand {
  display:flex;
  gap:.65rem;
  align-items:center;
  text-decoration:none;
  font-size:1.18rem;
  line-height:1.15
}
.brand-mark {
  font-size:2.1rem;
  color:#c9a574;
  line-height:1
}
.nav-links {
  display:flex;
  gap:1.4rem;
  align-items:center
}
.nav-links a {
  text-decoration:none;
  font-size:.95rem;
  white-space:nowrap;
  border-bottom:1px solid transparent;
  padding:.35rem 0
}
.nav-links a:hover,.nav-links a[aria-current=page] {
  border-bottom-color:#d9bd91
}
.menu-toggle {
  display:none;
  border:1px solid #b9a787;
  background:transparent;
  color:var(--cream);
  font:inherit;
  padding:.35rem .7rem;
  cursor:pointer
}
.hero {
  background:linear-gradient(145deg,var(--paper),var(--cream) 70%);
  border-bottom:1px solid var(--border)
}
.hero-inner {
  max-width:1100px;
  margin:auto;
  min-height:450px;
  padding:5rem 1.5rem 5.5rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start
}
.eyebrow {
  color:var(--copper);
  font-size:.83rem;
  text-transform:uppercase;
  letter-spacing:.17em;
  margin:0 0 1.1rem
}
.hero h1 {
  font-size:clamp(3.1rem,7.4vw,6.3rem);
  font-weight:400;
  line-height:1.04;
  letter-spacing:-.035em;
  max-width:780px;
  margin:0 0 1.35rem
}
.hero .lead {
  font-size:clamp(1.2rem,2.2vw,1.6rem);
  max-width:600px;
  margin:0 0 1.7rem
}
.ornament {
  font-size:2rem;
  color:var(--copper);
  line-height:1;
  margin-bottom:1.25rem
}
.btn {
  display:inline-block;
  padding:.75rem 1.4rem;
  background:var(--copper);
  color:#fff9ef;
  text-decoration:none;
  border:1px solid var(--copper);
  border-radius:2px;
  transition:background .15s
}
.btn:hover {
  background:#6d4d2c
}
.btn.outline {
  background:transparent;
  color:inherit;
  border-color:currentColor
}
.btn.outline:hover {
  background:#ffffff12
}
.section {
  padding:4.5rem 1.5rem
}
.section.paper {
  background:var(--paper)
}
.section.dark {
  background:var(--deep);
  color:var(--cream)
}
.wrap {
  max-width:1100px;
  margin:0 auto
}
.narrow {
  max-width:760px
}
.section h2 {
  font-weight:400;
  font-size:clamp(2rem,4vw,3.1rem);
  line-height:1.16;
  margin:.25rem 0 1.15rem
}
.section h3 {
  font-size:1.45rem;
  font-weight:400;
  margin:.1rem 0 .6rem
}
.section p {
  font-size:1.08rem
}
.muted {
  color:var(--muted)
}
.dark .muted {
  color:#ddcfb6
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.25rem;
  margin-top:2rem
}
.card {
  border:1px solid var(--border);
  padding:2rem 1.5rem;
  background:var(--cream);
  color:var(--green);
  min-height:230px
}
.card .ornament {
  font-size:1.65rem
}
.card p {
  font-size:1rem
}
.card a {
  color:var(--copper);
  text-underline-offset:4px
}
.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:center
}
.feature {
  border:1px solid #a28a61;
  padding:2rem;
  background:#ffffff08
}
.feature .ornament {
  color:#d4ae7d
}
.feature h3 {
  font-size:2rem
}
.feature p {
  font-size:1rem
}
.feature .btn {
  margin-top:.7rem
}
.inline-links {
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:1.4rem
}
.page-hero {
  padding:4.5rem 1.5rem;
  background:var(--paper);
  border-bottom:1px solid var(--border)
}
.page-hero .wrap {
  max-width:900px
}
.page-hero h1 {
  font-size:clamp(2.8rem,6vw,4.7rem);
  line-height:1.08;
  font-weight:400;
  margin:.5rem 0 1rem
}
.page-hero p {
  font-size:1.3rem;
  max-width:720px
}
.note {
  border-left:3px solid var(--copper);
  padding:.7rem 1.2rem;
  background:#ffffff55;
  margin:1.5rem 0
}
.contact-list {
  display:grid;
  gap:1rem;
  max-width:750px
}
.contact-list article {
  padding:1.5rem;
  border:1px solid var(--border)
}
.site-footer {
  background:var(--walnut);
  color:var(--cream);
  padding:2.8rem 1.5rem 1.5rem
}
.footer-top {
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:2rem;
  flex-wrap:wrap
}
.footer-links {
  display:flex;
  flex-wrap:wrap;
  gap:1rem
}
.footer-links a {
  font-size:.9rem;
  text-decoration:none
}
.footer-links a:hover {
  text-decoration:underline
}
.footer-bottom {
  max-width:1100px;
  margin:2rem auto 0;
  padding-top:1rem;
  border-top:1px solid #ffffff30;
  color:#e1d3bd;
  font-size:.86rem
}
.small {
  font-size:.94rem!important
}
.space-top {
  margin-top:1.5rem
}
.quiet {
  opacity:.85
}
@media(max-width:760px) {
  .header-inner {
    min-height:70px;
    flex-wrap:wrap;
    gap:.5rem
  }
  .menu-toggle {
    display:block
  }
  .nav-links {
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:.8rem 0
  }
  .nav-links.open {
    display:flex
  }
  .nav-links a {
    padding:.6rem .3rem
  }
  .hero-inner {
    min-height:400px;
    padding:4rem 1.5rem
  }
  .cards,.split {
    grid-template-columns:1fr
  }
  .section {
    padding:3.3rem 1.25rem
  }
  .page-hero {
    padding:3.5rem 1.25rem
  }
  .footer-top {
    flex-direction:column
  }
  .card {
    min-height:auto
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  * {
    transition:none!important
  }
}
/* About page: match the section headings */
body:has([data-copy="about.h1_01"]) .page-hero h1 {
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.16;
  margin: .25rem 0 1.15rem;
}
/* Center the About page introduction to match the content sections. */
.page-hero .wrap {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Shared Pocketbook cover treatment on the homepage and Bookshelf. */
.workbook-cover {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 6px 8px 16px rgba(0, 0, 0, 0.24);
}

/* Cover and text share the homepage feature card. */
.featured-workbook {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1.5rem;
}

.featured-workbook-copy,
.bookshelf-workbook-copy {
  min-width: 0;
}

/* Bookshelf: cover beside text on desktop */
.bookshelf-workbook {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
}

    .bookshelf-workbook .workbook-cover {
        width: 100%;
        max-width: 260px;
    }

.bookshelf-workbook-copy {
    min-width: 0;
}

/* Stack cover and text on smaller screens */
@media (max-width: 980px) {
    .bookshelf-workbook {
        grid-template-columns: 1fr;
    }

        .bookshelf-workbook .workbook-cover {
            width: min(100%, 230px);
            margin: 0 auto;
        }
}

/* Multiple purchase/download options can wrap without changing the book layout. */
.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
