/* Six illustrations, one quiet supporting voice. */
.avatar-scene { margin: 0; min-width: 0; text-align: center; }
.avatar-stage { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; padding: 16px; background: #fff; border: 1px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--avatar-accent,var(--lime)); overflow: hidden; }
.avatar-stage img { display: block; position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; z-index: 1; }
.avatar-scene figcaption { display: inline-block; max-width: 100%; margin: 22px auto 0; padding: 9px 15px; border: 1px solid var(--ink); border-radius: 12px; color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.5; box-shadow: 3px 3px 0 var(--ink); }
.hero { gap: clamp(24px, 4vw, 65px); }
.hero-copy { min-width: 0; }
.avatar-home { width: 100%; max-width: 480px; justify-self: center; }
.avatar-home .avatar-stage { aspect-ratio: 4 / 5; }
.illustrated-hero { grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr); gap: clamp(30px,5vw,80px); align-items: center; padding-top: 160px; padding-bottom: 65px; min-height: 650px; }
.illustrated-hero .page-hero-copy { min-width: 0; }
.illustrated-hero .section-number { margin: 0 0 22px; }
.illustrated-hero h1 { font-size: clamp(50px,6.6vw,90px); }
.illustrated-hero .page-lede { margin: 28px 0 0; max-width: 650px; }
.illustrated-hero .avatar-scene { width: 100%; max-width: 390px; justify-self: center; }
.avatar-now { --avatar-accent: var(--blue); }
.avatar-skills { --avatar-accent: var(--yellow); }
.avatar-thoughts { --avatar-accent: var(--coral); }
.journey-hero { grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: clamp(30px,4vw,65px); padding-top: 170px; align-items: center; }
.journey-hero h1 { font-size: clamp(62px,8vw,110px); }
.journey-intro { min-width: 0; }
.journey-intro > span { margin-top: 8px; }
.avatar-journey { max-width: 235px; margin: 20px auto 0; }
.avatar-journey .avatar-stage { border-radius: 24px; box-shadow: 5px 5px 0 var(--lime); }
.avatar-journey figcaption { background: transparent; box-shadow: none; color: #c6d1ca; border: 0; padding: 0; }
.journey-page .avatar-walker { left: 127px; width: 84px; height: 84px; background: var(--lime); border: 1px solid #95a399; box-shadow: 0 0 0 6px var(--ink); pointer-events: none; overflow: hidden; }
.avatar-walker img { display: block; width: 100%; height: 100%; object-fit: contain; }
.journey-page .timeline-item { grid-template-columns: 122px 106px minmax(0,1fr); }
.contact-page .contact-with-avatar { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.8fr); gap: 35px; padding: clamp(30px,5vw,65px); align-items: center; }
.contact-copy { position: relative; z-index: 1; min-width: 0; }
.contact-copy h1 { font-size: clamp(54px,7vw,92px); }
.contact-copy > p:not(.eyebrow) { color: #bcc6c0; font-size: 19px; margin: 28px 0 32px; max-width: 630px; }
.contact-copy .contact-actions { gap: 18px; align-items: flex-start; flex-direction: column; }
.avatar-contact { position: relative; z-index: 1; }
.avatar-contact .avatar-stage { --avatar-accent: var(--blue); aspect-ratio: 4 / 5; }
.avatar-contact figcaption { background: var(--lime); border-color: var(--lime); }
.avatar-byline { display: flex; align-items: center; gap: 14px; }
.avatar-byline img { display: block; width: 72px; height: 72px; object-fit: contain; background: var(--lime); border: 1px solid var(--ink); border-radius: 18px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .avatar-stage img { transition: transform .35s ease; }
  .avatar-scene:hover .avatar-stage img { transform: translateY(-5px) rotate(-1deg); }
}
@media (max-width: 900px) {
  .illustrated-hero { grid-template-columns: minmax(0,1fr); padding-top: 135px; gap: 30px; }
  .illustrated-hero .avatar-scene { max-width: 310px; }
  .avatar-home { max-width: 350px; }
  .journey-hero { grid-template-columns: minmax(0,1fr); padding-top: 145px; gap: 15px; }
  .journey-intro { max-width: 650px; }
  .avatar-journey { max-width: 215px; margin-top: 28px; }
  .contact-page .contact-with-avatar { grid-template-columns: minmax(0,1fr); }
  .avatar-contact { width: 100%; max-width: 320px; justify-self: center; }
}
@media (max-width: 640px) {
  .hero { padding-top: 125px; }
  .avatar-home { max-width: 300px; }
  .illustrated-hero { padding-top: 125px; padding-bottom: 35px; }
  .illustrated-hero h1 { font-size: clamp(40px,10vw,55px); }
  .illustrated-hero .avatar-scene { max-width: 270px; }
  .illustrated-hero + .page-section { padding-top: 40px; }
  .journey-hero { padding-top: 130px; }
  .journey-hero h1 { font-size: clamp(43px,11vw,60px); }
  .journey-page .timeline-progress { left: 23px; }
  .journey-page .avatar-walker { left: 0; width: 48px; height: 48px; }
  .journey-page .timeline-item { grid-template-columns: 64px minmax(0,1fr); }
  .journey-page .timeline-content h2 { font-size: clamp(29px,8vw,37px); }
  .contact-copy h1 { font-size: clamp(38px,10vw,56px); }
  .contact-page .contact-with-avatar { padding: 28px 22px; }
  .contact-actions .button { white-space: normal; text-align: center; }
  .avatar-scene figcaption { font-size: 14px; }
  .article-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-page .avatar-walker { display: none; }
  .avatar-stage img { transition: none; }
}
