.guide-cover{position:relative;display:flex;align-items:flex-end;min-height:max(92svh,720px);overflow:hidden;background:var(--ink);color:var(--paper)}
.guide-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;animation:settle 1800ms var(--ease-out) both}
.guide-cover::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 26%,rgba(0,0,0,.1) 45%,rgba(0,0,0,.88) 100%)} /* taste-skill-ignore */
.guide-cover-inner{position:relative;z-index:2;width:100%;max-width:1440px;margin-inline:auto;padding:0 var(--margin) 56px;animation:rise 1000ms var(--ease-out) 150ms both}
.guide-cover h1{font-size:clamp(4rem,1.4rem + 7vw,8.5rem);max-width:15ch}
.guide-lede{margin-top:22px;max-width:46ch;font-size:clamp(1.125rem,1rem + .5vw,1.375rem);color:#ececec}
.chapters{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}
.chapters a{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;background:var(--paper);color:var(--ink);font-weight:800;text-decoration:none;transition:background-color 160ms ease,color 160ms ease}
.chapters a:hover{background:var(--red);color:var(--paper)}
.chapter{padding-block:clamp(88px,10vw,140px)}
.chapter.is-tone{background:var(--surface)}
.chapter-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px clamp(40px,6vw,104px);align-items:start}
.chapter.is-flipped .chapter-photo{order:2}
.chapter-photo{position:sticky;top:24px}
.chapter-photo img{display:block;width:100%;height:auto;max-height:78vh;object-fit:cover}
.chapter-photo figcaption{margin-top:10px;font-size:.875rem;color:var(--muted)}
.chapter h2{font-size:clamp(3rem,1.4rem + 4.4vw,5.75rem)}
.chapter-lede{margin-top:20px;font-size:1.375rem;line-height:1.4;font-weight:600;max-width:32ch}
.step{margin-top:32px}
.step h3{font-size:1.375rem;font-weight:800}
.step p{margin-top:8px;max-width:58ch}
.chapter-link{display:inline-block;margin-top:36px;font-weight:800;text-decoration-color:var(--red)}
.pace-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.note{padding-block:clamp(80px,9vw,120px)}
.note-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px clamp(40px,6vw,104px);align-items:start}
.note h2{font-size:clamp(2.5rem,1.4rem + 3vw,4rem)}
.note p{max-width:60ch}
.note .chapter-link{margin-top:20px}
@media (prefers-reduced-motion:reduce){.guide-cover-photo,.guide-cover-inner{animation:none}}
@media (max-width:900px){
  .chapter-inner,.note-inner{grid-template-columns:minmax(0,1fr)}
  .chapter-photo,.chapter.is-flipped .chapter-photo{order:2}
  .chapter-photo{position:static}
  .chapter-photo img{max-height:60vh}
}
