/* Awakening Eden Living Guide 02 - v23.2 */
:root {
  --lantern: #c6923f;
  --lantern-deep: #8b6030;
  --night-olive: #414936;
  --calm-wash: #f4ead4;
}

body.guide-two {
  background:
    radial-gradient(circle at 82% 7%, rgb(198 146 63 / 0.13), transparent 25rem),
    radial-gradient(circle at 13% 32%, rgb(148 160 131 / 0.13), transparent 30rem),
    var(--paper);
}

.guide-two .primary-nav a[aria-current="page"] { border-color: var(--olive); }
.guide-two .guide-masthead { background: linear-gradient(135deg, rgb(255 253 247 / 0.58), rgb(244 234 212 / 0.56)); }
.guide-two .guide-number { color: var(--lantern-deep); }
.guide-two .guide-masthead h1 { max-width: 9.4ch; font-size: clamp(4rem, 9.4vw, 8.4rem); }
.guide-two .guide-promise { max-width: 38rem; }
.guide-two .button--primary { color: var(--paper-light); background: var(--lantern-deep); }
/* Contrast: cream on --terracotta measures 4.47:1, just under AA. */
.guide-two .button--gift { background: #95513e; }

.guide-two .guide-hero-art { min-height: 43rem; }
.guide-two .guide-hero-art::before {
  width: min(34rem, 96%);
  aspect-ratio: 4 / 5;
  border-color: rgb(139 96 48 / 0.28);
  background:
    radial-gradient(circle at 50% 45%, rgb(231 184 94 / 0.22), transparent 31%),
    linear-gradient(180deg, rgb(255 253 247 / 0.92), rgb(244 234 212 / 0.62));
}
.guide-two .guide-hero-art__lantern {
  position: relative;
  z-index: 2;
  width: min(31rem, 90%);
  filter: drop-shadow(0 25px 29px rgb(65 73 54 / 0.16));
}
.guide-two .guide-hero-art__corner { right: -2rem; bottom: -1rem; opacity: 0.62; }
.guide-two .guide-hero-art figcaption { color: var(--lantern-deep); }

.companion-ribbon {
  position: relative;
  z-index: 4;
  padding-block: 1rem;
  border-block: 1px solid var(--guide-line);
  background: rgb(255 253 247 / 0.7);
}
.companion-ribbon__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 1.4rem;
  color: var(--umber);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.3rem);
}
.companion-ribbon__inner span { display: inline-flex; align-items: center; gap: 0.5rem; }
.companion-ribbon__inner span::before { content: "✦"; color: var(--lantern); font-size: 0.7em; }

.guide-two .opening-letter::after { background-image: url("assets/corners/botanical-corner-04.webp"); }
.guide-two .walk-card { background: var(--night-olive); }
.guide-two .chapter-nav a::before,
.guide-two .chapter-kicker,
.guide-two .field-note h3,
.guide-two .living-action h3 { color: var(--lantern-deep); }
.guide-two .living-action { border-left-color: var(--lantern); background: rgb(244 234 212 / 0.58); }
.guide-two .field-note { border-left-color: var(--sage); }

.guide-reading-layout {
  width: min(calc(100% - 2 * var(--gutter)), 82rem);
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.guide-toc {
  position: sticky;
  top: 6.6rem;
  max-height: calc(100svh - 8rem);
  overflow: auto;
  padding: 1.2rem;
  border: 1px solid var(--guide-line);
  border-radius: 1.2rem;
  background: rgb(255 253 247 / 0.88);
  box-shadow: 0 14px 38px rgb(35 49 38 / 0.07);
}
.guide-toc__title { margin-bottom: 0.7rem; color: var(--lantern-deep); font-family: var(--hand); font-size: 1.65rem; }
.guide-toc ol { display: grid; gap: 0.18rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.guide-toc a {
  display: grid;
  grid-template-columns: 1.55rem 1fr;
  gap: 0.35rem;
  padding: 0.46rem 0.5rem;
  border-radius: 0.55rem;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.guide-toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--lantern-deep); font-family: var(--display); }
.guide-toc a:hover,
.guide-toc a:focus-visible { background: var(--calm-wash); }

.guide-story { min-width: 0; }
.guide-story .guide-chapter { padding-block: clamp(3.5rem, 7vw, 6rem); }
.guide-story .guide-chapter:first-child { padding-top: 0; }
.guide-story .chapter-copy { width: min(100%, var(--guide-reading)); }
.guide-story .botanical-divider { margin-block: -1.6rem; }

.chapter-botanical {
  width: min(8.5rem, 27vw);
  margin: 0 auto 1.1rem;
  opacity: 0.84;
  filter: drop-shadow(0 8px 12px rgb(35 49 38 / 0.08));
}
.chapter-botanical--small { width: min(6rem, 22vw); }

.reflection-question {
  margin-top: 1.6rem;
  padding: 1.1rem 1.25rem;
  border-block: 1px solid var(--guide-line);
  color: var(--umber);
  font-family: var(--display);
  font-size: 1.18rem;
  font-style: italic;
}
.reflection-question strong { color: var(--lantern-deep); font-family: var(--hand); font-size: 1.4rem; font-style: normal; }

.voice-note {
  position: relative;
  margin-top: 2rem;
  padding: 1.4rem 1.5rem 1.3rem 4.2rem;
  border: 1px solid var(--guide-line);
  border-radius: 1rem;
  background: rgb(255 253 247 / 0.72);
}
.voice-note::before {
  content: "♡";
  position: absolute;
  top: 1.1rem;
  left: 1.35rem;
  color: var(--terracotta);
  font-family: var(--display);
  font-size: 2rem;
}
.voice-note h3 { margin-bottom: 0.35rem; color: var(--terracotta); font-family: var(--hand); font-size: 1.65rem; }
.voice-note p:last-child { margin-bottom: 0; }

.practice-steps {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
  counter-reset: practice;
}
.practice-steps li { display: grid; grid-template-columns: 2.35rem 1fr; gap: 0.8rem; align-items: start; }
.practice-steps li::before {
  counter-increment: practice;
  content: counter(practice);
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 50%;
  color: var(--paper-light);
  background: var(--olive);
  font-family: var(--display);
}

.gentle-warning {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgb(167 101 79 / 0.25);
  border-radius: 0.85rem;
  color: rgb(35 49 38 / 0.82);
  background: rgb(167 101 79 / 0.07);
  font-size: 0.9rem;
}
.gentle-warning strong { color: var(--terracotta); }

.prepared-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.prepared-card { padding: 1.2rem; border: 1px solid var(--guide-line); border-radius: 0.9rem; background: rgb(255 253 247 / 0.72); }
.prepared-card h3 { font-size: 1.55rem; }
.prepared-card p:last-child { margin-bottom: 0; }

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.rhythm-card { padding: 1.2rem; border-left: 3px solid var(--lantern); background: rgb(244 234 212 / 0.45); }
.rhythm-card strong { display: block; color: var(--lantern-deep); font-family: var(--display); font-size: 1.25rem; }

.hope-band {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
  color: var(--paper-light);
  background: var(--night-olive);
  overflow: clip;
  text-align: center;
}
.hope-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgb(198 146 63 / 0.25), transparent 55%); }
.hope-band__inner { position: relative; z-index: 2; width: min(calc(100% - 2 * var(--gutter)), 53rem); margin-inline: auto; }
.hope-band h2 { max-width: 13ch; margin-inline: auto; color: var(--paper-light); }
.hope-band p { font-family: var(--display); font-size: clamp(1.35rem, 2.7vw, 2rem); }
.hope-band .handwritten { color: #efca78; }

.guide-two .author-photo img { object-position: 50% 48%; }
.guide-two .closing { background: linear-gradient(180deg, rgb(255 253 247 / 0.72), rgb(244 234 212 / 0.66)); }
.guide-two .closing-tree { width: min(18rem, 48vw); }

@media (max-width: 980px) {
  .guide-reading-layout { grid-template-columns: 1fr; }
  .guide-toc { position: relative; top: auto; max-height: none; }
  .guide-toc ol { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .guide-two .guide-hero-art { min-height: 31rem; }
  .guide-two .guide-hero-art__lantern { width: min(25rem, 94%); }
  .guide-two .guide-hero-art__corner { bottom: 3rem; }
  .guide-toc ol,
  .prepared-grid,
  .rhythm-grid { grid-template-columns: 1fr; }
  .voice-note { padding-left: 1.35rem; padding-top: 4rem; }
  .voice-note::before { left: 1.35rem; }
}

@media print {
  .guide-toc, .companion-ribbon { display: none !important; }
  .guide-reading-layout { display: block; padding: 0; }
  .guide-story .guide-chapter { break-inside: avoid; padding-block: 1.4rem; }
}

/* Contrast repair: the safety strongs measured 3.69–4.11:1 on the warm note
   ground. Safety copy is exactly the text that must never be hard to read. */
.gentle-warning strong { color: #93503d; }
