.guide-page {
  background: var(--white);
}

/* Keep the handbook layout shrinkable within the viewport at every breakpoint. */
.guide-page .guide-shell,
.guide-page .guide-toc,
.guide-page .guide-content,
.guide-page .guide-chapter,
.guide-page .guide-curriculum,
.guide-page .sequence-explanation,
.guide-page .sequence-stage,
.guide-page .sequence-conclusion,
.guide-page .learning-pathway,
.guide-page .pathway-start,
.guide-page .pathway-options,
.guide-page .pathway-card,
.guide-page .pathway-conclusion,
.guide-page .next-steps-blade {
  min-width: 0;
  max-width: 100%;
}

.guide-page .guide-hero {
  position: relative;
  top: auto;
  z-index: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 78px 0 72px;
  color: var(--cream);
  background: var(--teal);
  border-bottom: 3px solid var(--gold);
}

.guide-hero-inner {
  max-width: 990px;
}

.guide-page .guide-hero .eyebrow {
  color: #e0b46f;
}

.guide-page .guide-hero h1 {
  max-width: 930px;
  color: var(--white);
  font-size: clamp(3.1rem, 5.2vw, 5.25rem);
}

.guide-deck {
  max-width: 820px;
  color: #f1eee5;
  font: 400 clamp(1.2rem, 2vw, 1.5rem)/1.55 Georgia, "Times New Roman", serif;
}

.guide-intro {
  max-width: 760px;
  color: #d8e2dc;
}

.guide-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid #527074;
  color: #eef2ed;
  font-size: 14px;
}

.guide-byline strong {
  color: #fff;
}

.guide-disclaimer {
  max-width: 900px;
  margin: 25px 0 0;
  padding: 15px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.06);
  color: #dce4dd;
  font-size: 14px;
}

.familiar-section {
  padding: 78px 0;
  background: var(--cream);
}

.familiar-section h2 {
  margin-bottom: 18px;
}

.familiar-lead {
  max-width: 820px;
}

.observation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.observation-grid a {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 22px 48px 22px 24px;
  border: 1px solid #d8d2c5;
  border-top: 2px solid var(--gold);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.55;
}

.observation-grid a::after {
  content: "↓";
  position: absolute;
  top: 20px;
  right: 22px;
  color: #8c6126;
}

.observation-grid a:hover {
  border-color: #bca16e;
}

.guide-shell {
  display: grid;
  grid-template-columns: minmax(230px, 285px) minmax(0, 760px);
  justify-content: center;
  gap: 70px;
  align-items: start;
  padding-top: 90px;
  padding-bottom: 100px;
}

.guide-toc {
  position: sticky;
  top: 124px;
  padding: 25px 24px 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--cream);
}

.guide-toc h2 {
  margin: 0 0 17px;
  font-size: 1.5rem;
}

.guide-toc ol {
  margin: 0;
  padding-left: 22px;
}

.guide-toc li {
  margin: 8px 0;
  padding-left: 3px;
  color: #78613d;
  font-size: 13px;
  line-height: 1.4;
}

.guide-toc a {
  color: var(--ink);
  text-decoration: none;
}

.guide-toc a:hover {
  color: #8c6126;
  text-decoration: underline;
}

.guide-content {
  min-width: 0;
}

.guide-chapter {
  scroll-margin-top: 125px;
  padding: 0 0 68px;
  margin: 0 0 68px;
  border-bottom: 1px solid var(--line);
}

.chapter-number {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  color: #8c6126;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.chapter-number::after {
  content: "";
  width: 52px;
  height: 1px;
  background: var(--gold);
}

.guide-chapter h2 {
  margin-bottom: 25px;
  font-size: clamp(2.2rem, 3.4vw, 3.25rem);
}

.guide-chapter h3 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.guide-chapter p,
.guide-chapter li,
.guide-table {
  font-size: 17px;
}

.guide-chapter ul,
.guide-chapter ol {
  padding-left: 24px;
}

.guide-chapter li {
  margin: 10px 0;
}

.answer-first {
  color: var(--teal);
  font: 400 1.28rem/1.62 Georgia, "Times New Roman", serif;
}

.parent-note {
  margin: 31px 0;
  padding: 23px 25px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}

.parent-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font: 600 1rem/1.4 Arial, Helvetica, sans-serif;
}

.checklist {
  list-style: none;
  padding: 0 !important;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.checklist li {
  position: relative;
  margin: 0;
  padding: 16px 12px 16px 43px;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  width: 15px;
  height: 15px;
  border: 1.5px solid #8c6126;
  background: #fff;
}

.guide-table-wrap {
  width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.guide-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  line-height: 1.5;
}

.guide-table th,
.guide-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.guide-table th {
  background: var(--teal);
  color: var(--white);
  font-size: 14px;
}

.guide-table th:first-child {
  background: #e9e3d7;
  color: var(--teal);
}

.guide-table td:first-child {
  width: 25%;
  background: #fbf8f1;
  color: var(--teal);
  font-weight: 600;
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0 !important;
  margin: 30px 0;
}

.course-facts li {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--cream);
}

.guide-curriculum {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}

.guide-week {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--cream);
}

.guide-week-number {
  color: #a8752f;
  font: 400 2rem/1 Georgia, "Times New Roman", serif;
}

.guide-week-label,
.guide-chapter .guide-week-label {
  margin: 0 0 7px;
  color: #8c6126;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.guide-chapter .guide-week h3 {
  margin: 0 0 9px;
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1.25;
}

.guide-chapter .guide-week p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.sequence-explanation {
  margin-top: 48px;
}

.guide-chapter .sequence-heading {
  margin: 0 0 26px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 1.65rem;
}

.sequence-stage {
  position: relative;
  margin-left: 8px;
  padding: 0 0 30px 29px;
  border-left: 2px solid #d5b477;
}

.sequence-stage::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.guide-chapter .sequence-range {
  margin: 0 0 5px;
  color: #8c6126;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.guide-chapter .sequence-stage h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.sequence-stage p:last-child {
  margin-bottom: 0;
}

.sequence-conclusion {
  margin: 2px 0 0;
  padding: 23px 25px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--teal);
  font: 400 1.12rem/1.62 Georgia, "Times New Roman", serif;
}

/* Chapter 9: separate the conclusion from the three-stage sequence timeline. */
.guide-page #chapter-9 .sequence-conclusion {
  margin: 44px 0 0;
}

.guide-chapter .pathway-intro-heading {
  margin: 8px 0 18px;
  color: var(--teal);
  font-size: 1.65rem;
}

.learning-pathway {
  margin: 42px 0 44px;
}

.pathway-start {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 25px 28px 23px;
  border-top: 3px solid var(--gold);
  background: var(--teal);
  color: var(--white);
  text-align: center;
}

.guide-chapter .pathway-start h3 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 1.55rem;
}

.guide-chapter .pathway-start p {
  margin: 0;
  color: #e7ece7;
  font: italic 400 1rem/1.5 Georgia, "Times New Roman", serif;
}

.pathway-start::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 30px;
  background: #c9a35f;
}

.pathway-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.pathway-options::before {
  content: "";
  position: absolute;
  top: -29px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: #c9a35f;
}

.pathway-card {
  position: relative;
  min-width: 0;
  padding: 27px 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--cream);
}

.pathway-card::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 29px;
  background: #c9a35f;
}

.guide-chapter .pathway-card h3 {
  margin: 0 0 15px;
  color: var(--teal);
  font-size: 1.32rem;
  line-height: 1.3;
}

.guide-chapter .pathway-card p {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.62;
}

.guide-chapter .pathway-card p:last-of-type {
  margin-bottom: 0;
}

.pathway-link {
  display: inline-block;
  margin-top: 19px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.pathway-link:hover {
  color: #8c6126;
}

.pathway-conclusion {
  padding: 27px 29px;
  border-left: 4px solid var(--gold);
  background: #f8f4eb;
}

.guide-chapter .pathway-conclusion h3 {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 1.45rem;
}

.guide-chapter .pathway-conclusion p {
  margin-top: 0;
}

.guide-chapter .pathway-conclusion p:last-child {
  margin-bottom: 0;
}

.guide-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 22px;
}

.guide-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  border: 1px solid #506f72;
  background: rgba(255,255,255,.05);
}

.guide-action h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.45rem;
}

.guide-action p {
  flex: 1;
  color: #e0e7e1;
  font-size: 16px;
}

.guide-action .button {
  background: var(--gold);
  border-color: var(--gold);
  color: #172b2f;
}

.guide-action .button:hover {
  background: #e0b46f;
}

.next-steps-blade {
  width: 100%;
  margin: 0 0 70px;
  padding: 70px clamp(24px, 5vw, 46px);
  background: var(--teal);
  color: var(--cream);
}

.next-steps-blade .chapter-number {
  color: #e0b46f;
}

.next-steps-blade h2 {
  color: #fff;
}

.next-steps-blade > p {
  max-width: 740px;
}

.next-steps-blade .quiet-link {
  color: #fff;
  font-weight: 600;
}

.guide-faq details {
  border-bottom: 1px solid var(--line);
}

.guide-faq summary {
  padding-top: 20px;
  padding-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.guide-faq details p {
  padding-right: 32px;
}

.author-box {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 25px;
  align-items: center;
  margin-top: 54px;
  padding: 27px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--cream);
}

.author-box img {
  display: block;
  width: 120px;
  height: 150px;
  object-fit: cover;
  object-position: center 24%;
}

.author-box h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.author-box p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.author-box a {
  color: var(--teal);
  font-weight: 600;
}

@media print {
  header,
  footer,
  .guide-toc,
  .observation-grid a::after,
  .guide-actions {
    display: none !important;
  }

  .guide-shell {
    display: block;
    padding: 0;
  }

  .guide-chapter {
    break-inside: avoid;
  }
}

@media (max-width: 1050px) {
  .guide-shell {
    grid-template-columns: 1fr;
    gap: 45px;
    max-width: 820px;
  }

  .guide-toc {
    position: static;
  }

  .guide-toc ol {
    columns: 2;
    column-gap: 38px;
  }
}

@media (max-width: 700px) {
  .guide-page .guide-hero {
    padding: 54px 0 48px;
  }

  .guide-page .guide-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .guide-byline {
    display: block;
  }

  .guide-byline span {
    display: block;
    margin-top: 8px;
  }

  .familiar-section {
    padding: 60px 0;
  }

  .observation-grid,
  .course-facts,
  .guide-curriculum,
  .guide-actions {
    grid-template-columns: 1fr;
  }

  .sequence-explanation {
    margin-top: 32px;
  }

  .guide-page #chapter-9 .sequence-conclusion {
    margin-top: 30px;
  }

  .learning-pathway {
    margin-top: 34px;
  }

  .pathway-start {
    width: 100%;
  }

  .pathway-start::after,
  .pathway-options::before,
  .pathway-card::before {
    display: none;
  }

  .pathway-options {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .pathway-card,
  .pathway-conclusion {
    padding: 24px 21px;
  }

  .guide-week {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
    padding: 20px 17px;
  }

  .guide-week-number {
    font-size: 1.7rem;
  }

  .guide-shell {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .guide-toc ol {
    columns: 1;
  }

  .guide-chapter {
    padding-bottom: 48px;
    margin-bottom: 48px;
    scroll-margin-top: 100px;
  }

  .next-steps-blade {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .author-box {
    grid-template-columns: 1fr;
  }

  .author-box img {
    width: 100px;
    height: 125px;
  }
}
