:root {
  --paper: #f7f4ed;
  --paper-deep: #ece6da;
  --ink: #13231b;
  --forest: #1d3b2d;
  --forest-deep: #11271d;
  --copper: #a76744;
  --muted: #5f655f;
  --line: #c9c3b7;
  --white: #fffefb;
  --display: Georgia, "Times New Roman", serif;
  --body: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --content: 92rem;
  --gutter: clamp(1.25rem, 4vw, 3.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.45; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.shell { width: min(calc(100% - (2 * var(--gutter))), var(--content)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .7rem 1rem; color: var(--white); background: var(--forest); font-family: var(--sans); font-weight: 700; text-decoration: none; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(247, 244, 237, .96); border-bottom: 1px solid rgba(19, 35, 27, .12); }
.header-inner { display: flex; min-height: 6rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand, .footer-brand { flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.brand strong, .footer-brand strong { display: block; font-size: clamp(1.55rem, 2.2vw, 2.35rem); font-weight: 400; line-height: .95; }
.brand strong + span, .footer-brand strong + span { display: block; margin-top: .55rem; font-family: var(--sans); font-size: .59rem; letter-spacing: .2em; text-transform: uppercase; }
.brand:not(:has(strong)), .footer-brand:not(:has(strong)) { font-size: 1.55rem; }
.brand:not(:has(strong)) span, .footer-brand:not(:has(strong)) span { color: var(--copper); }
.site-nav { overflow-x: auto; scrollbar-width: thin; }
.site-nav ul, .footer-nav ul, .directory-grid, .detail-list, .pathway-grid, .article-list { margin: 0; padding: 0; list-style: none; }
.site-nav ul { display: flex; min-width: max-content; gap: clamp(1rem, 2.1vw, 2.25rem); }
.site-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid transparent; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--ink); }

.editorial-hero { display: grid; min-height: min(47rem, calc(100vh - 6rem)); grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); background: var(--white); }
.hero-copy { display: flex; padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem); flex-direction: column; justify-content: center; }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--copper); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.editorial-hero h1, .page-hero h1, .section-title, .section-heading h2, .reading-intro h2, .contact-strip h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.045em; line-height: .95; }
.editorial-hero h1 { max-width: 8ch; font-size: clamp(4rem, 7.3vw, 7.9rem); }
.hero-copy > p:not(.eyebrow) { max-width: 34rem; margin: 1.75rem 0 0; color: #39433d; font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.35; }
.hero-media { position: relative; min-height: 38rem; margin: 0; overflow: hidden; background: var(--forest); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(17, 39, 29, .48)); content: ""; pointer-events: none; }
.hero-media figcaption { position: absolute; z-index: 1; right: 1.5rem; bottom: 1.25rem; color: rgba(255,255,255,.9); font-family: var(--sans); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.actions { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.button { display: inline-flex; min-height: 3.4rem; padding: .8rem 1.7rem; align-items: center; justify-content: center; gap: .9rem; border: 1px solid var(--forest); font-size: 1rem; text-decoration: none; }
.button-primary { color: var(--white); background: var(--forest); }
.button-primary:hover { background: var(--forest-deep); }
.button-outline { background: transparent; }

.directions { display: grid; padding: clamp(2rem, 4vw, 4rem) var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); }
.directions article { padding-inline: clamp(0rem, 2vw, 2.5rem); border-left: 1px solid var(--line); }
.directions article:first-child { padding-left: 0; border-left: 0; }
.directions article:last-child { padding-right: 0; }
.directions img { width: 100%; aspect-ratio: 1.9 / 1; object-fit: cover; }
.directions h2, .practice-grid h3, .reading-grid h3 { margin: 1rem 0 0; font-size: clamp(1.55rem, 2.3vw, 2.45rem); font-weight: 400; line-height: 1.05; }
.directions p, .practice-grid p { margin: .4rem 0 0; color: var(--muted); font-size: 1.05rem; }
.text-link { display: inline-block; margin-top: 1rem; padding-bottom: .18rem; border-bottom: 1px solid currentColor; font-size: .95rem; text-decoration: none; }
.text-link:hover { color: var(--copper); }

.section { padding: clamp(4rem, 7vw, 7rem) var(--gutter); }
.section-heading { display: grid; max-width: var(--content); margin: 0 auto 2.5rem; grid-template-columns: minmax(2rem, 1fr) auto minmax(2rem, 1fr); align-items: center; gap: 2rem; text-align: center; }
.section-heading > span { height: 1px; background: var(--line); }
.section-heading h2 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
.section-heading p { margin: .65rem 0 0; color: var(--muted); font-size: 1.1rem; }
.practice-grid { display: grid; max-width: var(--content); margin-inline: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2vw, 2.25rem); }
.practice-grid img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; }
.practice-grid h3 { font-size: clamp(1.55rem, 2vw, 2.15rem); }

.reading-section { display: grid; grid-template-columns: minmax(16rem, .75fr) minmax(0, 2.25fr); gap: clamp(2rem, 5vw, 5rem); background: var(--paper-deep); }
.reading-intro { padding-right: clamp(0rem, 3vw, 3rem); border-right: 1px solid var(--line); }
.reading-intro h2 { font-size: clamp(2.8rem, 4.2vw, 4.8rem); }
.reading-intro p { margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; }
.reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.2vw, 2.5rem); }
.reading-grid article { padding-left: clamp(0rem, 1.8vw, 1.75rem); border-left: 1px solid var(--line); }
.reading-grid img { width: 100%; aspect-ratio: 1.65 / 1; object-fit: cover; }
.reading-grid h3 { font-size: clamp(1.3rem, 1.7vw, 1.7rem); }
.contact-strip { display: grid; padding: 2.5rem var(--gutter); grid-template-columns: .75fr 1.45fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); background: var(--white); border-top: 1px solid var(--line); }
.contact-strip h2 { font-size: clamp(2.5rem, 4vw, 4.5rem); }
.contact-strip p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.review-note { margin: 0; padding: .85rem var(--gutter); color: #e9dccc; background: #72452f; font-family: var(--sans); font-size: .72rem; text-align: center; }
.site-footer { padding: 3rem 0; color: rgba(255,255,255,.78); background: var(--forest-deep); }
.site-footer .footer-brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.7fr auto; align-items: start; gap: 3rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .7rem 1.7rem; }
.footer-nav a { color: rgba(255,255,255,.8); font-size: .88rem; text-decoration: none; }
.site-footer p { margin: 0; font-size: .88rem; }
.footer-meta { display: flex; margin-top: 2rem; padding-top: 1.25rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.16); }

/* Shared interior-page system */
.page-hero { background: var(--white); }
.page-hero-grid { display: grid; min-height: 35rem; grid-template-columns: minmax(0, 1fr) minmax(22rem, .85fr); }
.page-hero-copy { display: flex; padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - 92rem) / 2)); flex-direction: column; justify-content: center; }
.page-hero h1 { max-width: 10ch; font-size: clamp(3.8rem, 7vw, 7.5rem); }
.page-hero p { max-width: 38rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.2rem; }
.page-media { min-height: 28rem; margin: 0; overflow: hidden; background: var(--forest); }
.page-media img { width: 100%; height: 100%; object-fit: cover; }
.section-title { max-width: 15ch; font-size: clamp(3rem, 5.5vw, 6rem); }
.section-lead { max-width: 46rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.2rem; }
.page-split, .books-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(17rem, .7fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.prose { max-width: 48rem; }
.prose p, .prose li, .books-copy p { color: var(--muted); font-size: 1.08rem; }
.prose p:first-child { margin-top: 0; }
.prose h2, .prose h3 { margin: 2.7rem 0 .85rem; font-weight: 400; line-height: 1.05; }
.prose h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.prose h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.detail-list { border-top: 1px solid var(--line); }
.detail-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.detail-list strong { display: block; color: var(--ink); }
.directory-grid { display: grid; margin-top: 3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.directory-grid li { padding: 2rem; background: var(--white); }
.directory-grid h2, .directory-grid h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.05; }
.directory-grid p { margin: .8rem 0 0; color: var(--muted); }
.pathway-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.pathway { padding: clamp(2rem, 4vw, 3.5rem); border-left: 1px solid var(--line); }
.pathway:first-child { border-left: 0; }
.pathway-index { color: var(--copper); }
.pathway h2 { font-size: 2.2rem; font-weight: 400; }
.feature-list { margin-top: 3rem; }
.feature { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.feature-copy { display: flex; padding: clamp(2.5rem, 5vw, 5rem); flex-direction: column; justify-content: center; }
.feature-copy h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 400; line-height: 1; }
.feature-media { min-height: 26rem; margin: 0; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature:nth-child(even) .feature-copy { order: 2; }
.section-dark { color: var(--white); background: var(--forest-deep); }
.section-dark .section-lead, .section-dark .feature-copy p { color: rgba(255,255,255,.72); }
.callout, .closing { padding: clamp(4rem, 7vw, 7rem) 0; color: var(--white); background: var(--copper); }
.callout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; }
.callout h2 { margin: 0; font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: .95; }
.book-mark { min-height: 28rem; margin: 0; overflow: hidden; background: var(--white); }
.book-mark img { width: 100%; height: 100%; object-fit: cover; }
.article-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.article-list li { display: grid; padding: 1.5rem 0; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.article-list h3 { margin: 0; font-size: 1.8rem; font-weight: 400; }
.article-list p { margin: .3rem 0 0; color: var(--muted); }
.closing { text-align: center; }
.closing .section-title { margin-inline: auto; }
.closing p { max-width: 40rem; margin: 1.3rem auto 0; }
.closing .actions { justify-content: center; }
.not-found { min-height: 70vh; }

@media (max-width: 1000px) {
  .header-inner { display: block; padding-block: 1rem .7rem; }
  .site-nav { margin-top: .7rem; }
  .editorial-hero, .page-hero-grid, .reading-section, .page-split, .books-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 32rem; }
  .directions { grid-template-columns: 1fr; gap: 2rem; }
  .directions article { padding: 2rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .directions article:first-child { padding-top: 0; border-top: 0; }
  .directions img { aspect-ratio: 2.2 / 1; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reading-intro { padding-right: 0; padding-bottom: 2.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature, .callout-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-copy { order: 0; }
}

@media (max-width: 650px) {
  :root { --gutter: 1.1rem; }
  .brand strong + span { font-size: .5rem; }
  .site-nav a { font-size: .82rem; }
  .editorial-hero h1 { font-size: clamp(3.8rem, 18vw, 5.7rem); }
  .hero-copy { padding: 4rem var(--gutter); }
  .hero-media { min-height: 24rem; }
  .actions .button { width: 100%; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > span { display: none; }
  .practice-grid, .reading-grid, .directory-grid, .pathway-grid { grid-template-columns: 1fr; }
  .reading-grid article { padding: 1.5rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .page-hero-copy { padding-inline: var(--gutter); }
  .page-media, .feature-media { min-height: 20rem; }
  .pathway { border-top: 1px solid var(--line); border-left: 0; }
  .article-list li { grid-template-columns: 2rem 1fr; }
  .article-list .text-link { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video { display: none; }
  .hero-media { background: var(--forest) url("/assets/media/hero-boabom-poster.jpg") center / cover no-repeat; }
}
