@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --bark: #2c1f14;
  --clay: #8c4a2f;
  --straw: #f2e8d5;
  --warm-white: #faf8f4;
  --rule: #d9cbb8;
  --ink: #1a1208;
  --mid: #6b5c48;
  --light-mid: #9e8e7a;
  --accent: #c45c2a;
  --page: #ffffff;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.8;
  font-weight: 300;
}

nav {
  background: var(--bark);
  border-bottom: 3px solid var(--clay);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar { display: none; }

.nav-logo {
  font-family: 'Libre Baskerville', serif;
  color: var(--straw);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 20px 15px 0;
  white-space: nowrap;
  margin-right: 12px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-inner a:not(.nav-logo) {
  color: #b0a090;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-inner a:not(.nav-logo):hover { color: var(--straw); }
.nav-inner a:not(.nav-logo).active { color: var(--straw); border-bottom-color: var(--clay); }

.hero {
  background: var(--straw);
  border-bottom: 1px solid var(--rule);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: 'PLAYBOOK';
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  color: rgba(44,31,20,0.055);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-inner { max-width: 680px; margin: 0 auto; position: relative; }

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em { font-style: italic; color: var(--clay); }

.hero-sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  background: var(--bark);
  color: var(--straw);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 28px;
  transition: background 0.2s;
}

.btn:hover { background: var(--clay); }

.chapter-hero {
  background: var(--straw);
  border-bottom: 1px solid var(--rule);
  padding: 52px 24px 44px;
}

.chapter-hero-inner { max-width: 720px; margin: 0 auto; }

.ch-num {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-num::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--clay); }

.chapter-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bark);
  margin-bottom: 14px;
}

.chapter-hero p { color: var(--mid); font-size: 0.97rem; max-width: 560px; }

.content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.content-wrap h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bark);
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
}

.content-wrap h2:first-child { margin-top: 0; }

.content-wrap h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bark);
  margin: 28px 0 8px;
}

.content-wrap p { color: #2a2015; margin-bottom: 18px; }
.content-wrap p:last-child { margin-bottom: 0; }
.content-wrap strong { font-weight: 600; }

.pull-quote {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--bark);
  line-height: 1.65;
  padding: 22px 24px 22px 28px;
  border-left: 4px solid var(--clay);
  margin: 36px 0;
  background: var(--straw);
}

.callout {
  background: var(--straw);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--clay);
  padding: 20px 24px;
  margin: 32px 0;
}

.callout-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 8px;
}

.callout p { color: var(--mid); margin: 0; font-size: 0.92rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  margin: 28px 0;
}

.two-col-cell { background: var(--page); padding: 20px; }

.two-col-cell h4 {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 8px;
}

.two-col-cell p { font-size: 0.87rem; color: var(--mid); margin: 0; line-height: 1.6; }

@media (max-width: 520px) { .two-col { grid-template-columns: 1fr; } }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--rule);
  margin: 32px 0;
}

.stat-cell { background: var(--page); padding: 22px 16px; text-align: center; }

.stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--clay);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--light-mid);
  font-weight: 500;
}

.steps { margin: 32px 0; }

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0;
  margin-bottom: 2px;
}

.step-num {
  background: var(--bark);
  color: var(--straw);
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
}

.step-body {
  background: var(--page);
  border: 1px solid var(--rule);
  border-left: none;
  padding: 16px 20px;
}

.step-title { font-weight: 600; font-size: 0.95rem; color: var(--bark); margin-bottom: 4px; }
.step-desc { font-size: 0.88rem; color: var(--mid); line-height: 1.6; }

.chapter-index { margin: 40px 0; }

.chapter-entry {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 1px;
  transition: opacity 0.15s;
}

.chapter-entry:hover { opacity: 0.85; }

.ce-num {
  background: var(--bark);
  color: var(--straw);
  font-family: 'Libre Baskerville', serif;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.ce-body {
  background: var(--page);
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-left: none;
  border-right: none;
}

.ce-title {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--bark);
  margin-bottom: 3px;
}

.ce-desc { font-size: 0.8rem; color: var(--light-mid); }

.ce-arrow {
  background: var(--page);
  color: var(--clay);
  padding: 0 18px;
  font-size: 1rem;
  align-self: stretch;
  display: flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-left: none;
}

.chapter-nav {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.chapter-nav a {
  color: var(--clay);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.chapter-nav a:hover { color: var(--bark); }

footer {
  background: var(--bark);
  color: #7a6a58;
  padding: 40px 24px;
}

.footer-inner { max-width: 1080px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 16px;
}

.footer-logo {
  font-family: 'Libre Baskerville', serif;
  color: var(--straw);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.footer-links a {
  color: #7a6a58;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--straw); }

.footer-copy { font-size: 0.72rem; color: #4a3a2a; }

@media (max-width: 640px) {
  .hero { padding: 48px 20px 40px; }
  .hero::after { display: none; }
  .content-wrap { padding: 44px 20px 60px; }
}
