/* "How we'll work together", the guide after onboarding. A short read in
 * four chapters, each beside a small, faithful preview of what the client
 * will see. The previews are pictures, so they're hidden from screen
 * readers and described by their figure's label instead. */


/* The guide sits where the questions did, beside the same rail, so the two
   parts of the first visit read as one. */
.guide { flex: 999 1 560px; max-width: 1000px; min-width: 0; padding-bottom: 120px; }
.guide__hero { display: flex; flex-direction: column; gap: 20px; }
.onboarding__eyebrow-plain { font-size: 12px; }
.guide__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.guide__lede { max-width: 52ch; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.guide__cast { display: flex; align-items: center; gap: 16px; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.guide__faces { display: inline-flex; }
.guide__faces .avatar { box-shadow: 0 0 0 3px var(--paper); }
.guide__faces .avatar + .avatar { margin-left: -12px; }
.guide__body { margin-top: 56px; }

/* Chapters */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.chapter__text { display: flex; flex-direction: column; gap: 16px; }
.chapter__text p { max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.chapter__text .chapter__number { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--red-text); }
.chapter__title { margin-bottom: 4px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }

/* Plates: a warm stage with a miniature of the real thing on it. */
.plate { position: relative; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.plate__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; padding: 48px 40px; border-radius: 28px; background: var(--paper-aside); overflow: hidden; }
.plate__caption { padding-left: 4px; font-size: 13px; color: var(--ink-faint); }
.mini-card { position: relative; width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--field); font-size: 13px; line-height: 1.45; box-shadow: 0 1px 2px rgba(32, 19, 19, 0.06), 0 12px 32px -8px rgba(32, 19, 19, 0.16); }
.mini-kicker { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.mini-rule { height: 1px; background: var(--line); }
.mini-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; }

.avatar--guide { width: 48px; height: 48px; font-size: 14px; }
.mini-person { display: flex; align-items: center; gap: 14px; }
.mini-person + .mini-person { padding-top: 12px; border-top: 1px solid var(--line); }
.mini-person strong { display: block; font-size: 15px; font-weight: 500; }
.mini-person small { font-size: 12px; color: var(--ink-faint); }
.mini-person__empty { flex: none; width: 48px; height: 48px; border-radius: 999px; border: 1.5px dashed var(--line-strong); }
.mini-team { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-faint); }
.mini-team__faces { display: inline-flex; }
.mini-team__faces .avatar { box-shadow: 0 0 0 2px var(--field); }
.mini-team__faces .avatar + .avatar { margin-left: -8px; }
.mini-ask { position: absolute; right: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; box-shadow: 0 10px 30px rgba(32, 19, 19, 0.22); }
.mini-ask .avatar { width: 36px; height: 36px; }
.chapter#people .mini-card { margin-bottom: 40px; }

.mini-approve__title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.mini-question { margin-top: 4px; font-weight: 500; }
.mini-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-pill { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-warm); font-size: 12px; }
.mini-pill--on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.mini-button { align-self: flex-start; margin-top: 8px; padding: 10px 18px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 12px; font-weight: 700; }

.mini-home__quote { font-family: var(--serif); font-size: 19px; line-height: 1.35; }
.mini-home__byline { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-faint); }

.mini-email__from { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-faint); }
.mini-email__logo { width: 16px; height: 16px; border-radius: 4px; background: var(--red); }
.mini-email__subject { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.15; }
.mini-email__subject > span { display: none; }
.guide__form:has([value="weekly"]:checked) .when-weekly,
.guide__form:has([value="biweekly"]:checked) .when-biweekly,
.guide__form:has([value="off"]:checked) .when-off { display: inline; }
.guide__form:has([value="off"]:checked) .mini-email .mini-row { opacity: 0.25; }
.mini-email .mini-row { transition: opacity 0.3s; }
.mini-line { height: 8px; border-radius: 4px; background: var(--paper-deep); }
.mini-line--short { width: 72%; }
.mini-line--shorter { width: 48%; }

/* How often to email, as three choices. */
.choice-cards { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; border: 0; }
.choice-cards__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-cards__option { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 1px solid var(--line-warm); font-size: 14px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.choice-cards__option:hover { border-color: var(--ink-faint); }
.choice-cards__dot { width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); }
.choice-cards__input:checked + .choice-cards__option { background: var(--paper-deep); border-color: var(--paper-deep); font-weight: 500; }
.choice-cards__input:checked + .choice-cards__option .choice-cards__dot { border: 5px solid var(--ink); background: var(--paper); }
.choice-cards__input:focus-visible + .choice-cards__option { outline: 2px solid var(--ink); outline-offset: 3px; }

/* A note from the account manager, then on to the project. */
.guide__close { display: flex; flex-direction: column; gap: 40px; padding-top: 72px; border-top: 1px solid var(--line); }
.note { display: flex; align-items: flex-start; gap: 24px; max-width: 720px; padding: 36px 40px; border-radius: 28px; background: var(--paper-deep); }
.note .avatar { flex: none; }
.note__text { display: flex; flex-direction: column; gap: 12px; }
.note__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; }
.note__text p { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 52ch; }
.note__text .note__sign { display: flex; flex-direction: column; margin-top: 4px; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.note__sign span { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.guide__go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* With JavaScript, chapters rise into view as they're reached. Movement only,
   never fading, so the text keeps its full contrast at every moment. */
@media (prefers-reduced-motion: no-preference) {
  .guide--ready .chapter .chapter__text, .guide--ready .chapter .plate { transform: translateY(20px); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .guide--ready .chapter .plate { transition-delay: 0.1s; }
  .guide--ready .chapter--seen .chapter__text, .guide--ready .chapter--seen .plate { transform: none; }
  .guide--ready .chapter--seen .mini-ask { animation: guide-ask 0.6s 0.5s both cubic-bezier(0.2, 0.7, 0.2, 1); }
}
@keyframes guide-ask { from { transform: translateY(12px) scale(0.96); } }

@media (max-width: 1100px) {
  /* Beside the rail there's no longer room for text and preview side by side. */
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  .guide__body { margin-top: 40px; }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 56px 0; }
  .plate__stage { min-height: 0; padding: 32px 20px; border-radius: 22px; }
  .mini-ask { right: 16px; bottom: 16px; }
  .note { flex-direction: column; padding: 28px 24px; gap: 16px; }
  .guide__go { flex-direction: column; align-items: stretch; text-align: center; }
  .guide__go .button { justify-content: center; }
}
