/* A personal playground, with a career told in chapters. Homepage only. */
.journey-home { --text-muted: #68635d; }
.journey-home :is(#selected-work, #journey, #field-notes) { scroll-margin-top: 90px; }
.journey-home .btn--primary { color: var(--text); }
.journey-home .nav__links .btn--primary { color: var(--text); }
.journey-home .first-screen { min-height: calc(100svh - 73px); background-image: radial-gradient(#b6a38b40 .8px, transparent .8px); background-size: 22px 22px; }
.journey-home .hero { padding: 72px 0 64px; }
.journey-home .hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; }
.journey-home .hero__eyebrow { color: var(--text-muted); font-size: .7rem; letter-spacing: .14em; }
.journey-home .hero__title { font-size: clamp(2.5rem, 4.9vw, 4.9rem); max-width: 20ch; line-height: 1.08; letter-spacing: -.055em; margin-bottom: 28px; }
.hero__highlight { position: relative; z-index: 0; }
.hero__highlight::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .2em; background: var(--accent); z-index: -1; transform: rotate(-1deg); }
.journey-home .hero__body { max-width: 36em; font-size: 1.0625rem; }
.hero__curiosity { display: inline-block; padding: 12px 4px; font-size: .875rem; color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero__curiosity span { display: inline-block; margin-left: 8px; }
/* Fictional trading-card stats, rather than professional ratings. */
.character-card {
  position: relative;
  width: min(100%, 360px);
  justify-self: center;
  padding: 14px 18px 12px;
  border: 9px solid #e9bb68;
  border-radius: 19px;
  background: linear-gradient(125deg, #faeacb, #f4d8b8 42%, #eee6c5 70%, #fbe8cb);
  color: #34291f;
  box-shadow: inset 0 0 0 1px #927147, 3px 5px 0 #c8a367, 12px 20px 32px #46331824;
  transform: rotate(3deg);
  transition: transform .3s ease, box-shadow .3s ease;
  font-family: 'Space Grotesk', sans-serif;
  isolation: isolate;
}
.character-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: linear-gradient(115deg, transparent 20%, #fff9df60 33%, #f6cedb40 41%, #c9e8df55 46%, transparent 56%);
  background-size: 250% 100%;
  background-position: 100% 0;
  mix-blend-mode: soft-light;
  pointer-events: none;
  transition: background-position .65s ease;
}
.character-card__topline, .character-card__header, .character-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.character-card__topline { font-size: .53rem; font-weight: 700; letter-spacing: .08em; }
.character-card__topline > span:first-child { background: #fdf6df; border: 1px solid #b39461; border-radius: 9px; padding: 2px 7px; }
.character-card__header { padding: 6px 0 9px; }
.character-card__header h2 { font-size: 1.8rem; letter-spacing: -.05em; line-height: 1; }
.character-card__hp { white-space: nowrap; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.character-card__hp small { font-size: .65rem; }
.character-card__hp > span { display: inline-grid; place-items: center; background: #c96b38; color: #fff3ce; border-radius: 50%; width: 25px; height: 25px; font-size: 1.2rem; vertical-align: middle; }
.character-card__portrait { position: relative; border: 3px solid #a98b54; box-shadow: 0 0 0 1px #fdf4d4; overflow: hidden; background: #c3beb3; }
.journey-home .character-card .hero__photo-img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; object-position: center 32%; border: 0; border-radius: 0; }
.character-card__spark { position: absolute; color: #fff1c6; text-shadow: 0 0 12px #eebe73; line-height: 1; }
.character-card__spark--one { top: 12px; right: 14px; font-size: 2.2rem; }
.character-card__spark--two { bottom: 14px; left: 16px; font-size: 1.2rem; }
.character-card__species { text-align: center; font-size: .53rem; letter-spacing: .04em; padding: 4px; background: linear-gradient(90deg, #ceb583, #f9e7b5, #ceb583); margin: 5px 0 13px; border-radius: 2px; }
.character-card__ability { position: relative; margin-bottom: 14px; }
.character-card__ability-label { display: inline-block; padding: 2px 7px; border-radius: 12px; background: #a5412c; color: #fff8e8; font-size: .5rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 4px; }
.character-card h3 { font-size: .9rem; letter-spacing: -.025em; }
.character-card__ability h3 { display: inline; margin-left: 5px; color: inherit; }
.character-card__ability p, .character-card__move p { font-size: .65rem; line-height: 1.45; margin-top: 3px; }
.character-card__move { display: flex; align-items: center; gap: 10px; padding: 0 0 13px; }
.character-card__energy { font-size: .9rem; white-space: nowrap; color: #7b5134; }
.character-card__power { margin-left: auto; font-size: 1.4rem; font-weight: 700; }
.character-card__traits { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 0; border-block: 1px solid #a18b665c; text-align: center; }
.character-card__traits > div + div { border-left: 1px solid #a18b665c; }
.character-card__traits dt { font-size: .5rem; text-transform: uppercase; letter-spacing: .08em; }
.character-card__traits dd { font-size: .65rem; font-weight: 700; margin-top: 2px; }
.character-card__flavour { font-size: .63rem; font-style: italic; line-height: 1.5; margin: 9px 0 6px; }
.character-card__footer { font-size: .5rem; font-weight: 500; }
.character-card__footer a { padding-block: 9px; text-underline-offset: 3px; }
.character-card__footer > span { white-space: nowrap; }
.character-card:focus-within { transform: rotate(0deg) translateY(-3px); }
@media (hover: hover) {
  .character-card:hover { transform: rotate(0deg) translateY(-5px); box-shadow: inset 0 0 0 1px #927147, 3px 5px 0 #c8a367, 12px 25px 40px #46331830; }
  .character-card:hover::after { background-position: 0 0; }
}
.journey-home .section { padding-block: 88px; }
.journey-home .section__label { font-size: .65rem; letter-spacing: .15em; color: var(--accent-dark); }
.journey-home .section__title { font-size: clamp(1.8rem, 3.2vw, 3rem); letter-spacing: -.04em; margin-bottom: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; }
.section-intro { color: var(--text-muted); margin-bottom: 32px; }
.section-heading .section-intro { margin-bottom: 0; }
.quest-pick { gap: 12px; flex-shrink: 0; }
.quest-pick[hidden] { display: none; }
.quest-pick span { display: inline-block; font-size: 1.4rem; transition: transform .25s; }
.quest-pick:hover span { transform: rotate(90deg); }
.journey-home .project-card { border-color: #d9d0c5; }
.journey-home .project-card__content { background: #fffdf9; position: relative; padding-right: 44px; }
.journey-home .project-card__name::after { content: '↗'; position: absolute; right: 18px; font-weight: 400; }
.journey-home .project-card__image { background: #ebe6dc; }
.journey-home .project-card.is-picked { outline: 3px solid var(--accent-dark); outline-offset: 5px; }
.journey-home .section__title--follow { margin-top: 48px; font-size: 1.4rem; }
.section__title--follow > span { color: var(--accent-dark); display: inline-block; margin-left: 8px; }
.journey { background: #eeeade; border-block: 1px solid #d8d1c4; }
.journey__layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 128px); }
.journey__intro { position: sticky; top: 116px; align-self: start; }
.journey__intro > p:not(.section__label) { max-width: 34em; margin-bottom: 20px; color: #625e56; }
.journey__map { margin-top: 32px; max-width: 290px; color: #776c59; }
.journey__map svg { display: block; width: 100%; }
.journey__map > span { display: block; transform: rotate(-5deg); font-size: .75rem; text-align: center; }
.timeline { list-style: none; padding: 0; }
.timeline__stop { position: relative; padding: 0 0 40px 66px; }
.timeline__stop::before { content: ''; position: absolute; top: 38px; bottom: 0; left: 18px; border-left: 2px dashed #b5ac98; }
.timeline__stop:last-child { padding-bottom: 0; }
.timeline__stop:last-child::before { display: none; }
.timeline__marker { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border: 1px solid #b5ac98; border-radius: 50%; background: #f8f5ec; display: grid; place-items: center; font: 500 .7rem 'Space Grotesk', sans-serif; }
.timeline__chapter { padding: 0 0 6px; }
.timeline__date { font: 500 .65rem/1.5 'Space Grotesk', sans-serif; letter-spacing: .08em; color: #696257; margin-bottom: 8px; }
.timeline__chapter h3 { font-size: 1.6rem; letter-spacing: -.025em; margin-bottom: 10px; }
.timeline__chapter > p:not(.timeline__date) { font-size: .9rem; line-height: 1.7; max-width: 39em; color: #625e56; }
.timeline__chapter .timeline__subtitle { font-weight: 500; color: var(--text) !important; margin-bottom: 10px; }
.timeline__chapter .timeline__note { margin-top: 16px; font-size: .75rem !important; color: #756249 !important; }
.timeline__note { position: relative; padding-left: 21px; }
.timeline__note::before { content: ''; position: absolute; left: 0; top: .3em; width: 13px; height: 13px; background: #efd5be; border-radius: 50%; }
.timeline__note::after { content: ''; position: absolute; left: 4px; top: calc(.3em + 3px); width: 4px; height: 6px; border: solid #a8734f; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.timeline__stop--now .timeline__marker { background: var(--accent); border-color: #b75b23; font-size: 1.2rem; }
.timeline__stop--now .timeline__chapter { background: #faf6ef; border: 1px solid #cdbca2; border-radius: 12px; padding: 24px; }
.timeline__here { display: inline-block; margin-left: 12px; color: #506035; background: #e4e9cf; border-radius: 4px; padding: 3px 7px; font-size: .55rem; }
.journey-home #brands { background: var(--bg); padding-block: 40px; border-bottom: 1px solid var(--border); }
.journey-home #brands .section__title { font-size: 1.25rem; }
.journey-home #testimonials { padding-top: 56px; }
.journey-home #testimonials .section__title { font-size: 1.8rem; }
.journey-home .testimonial-card { background: #fffdf8; }
.journey-home .section--cta { position: relative; background: #f6d6bf; color: var(--text); border-block: 1px solid #e6b99a; }
.journey-home .section--cta .section__title { color: var(--text); }
.journey-home .cta__body { color: #703a2d; }
.cta__hello { display: block; margin-top: 20px; font-size: .8rem; text-underline-offset: 4px; }
@media (hover: hover) {
  .journey-home .project-card:hover { transform: translateY(-5px) rotate(-.5deg); }
  .journey-home .blog-card:hover { transform: translateY(-4px) rotate(.4deg); }
}
@media (min-width: 901px) { .journey-home .hero { flex: 1; } }
@media (max-width: 900px) {
  .journey-home .hero__inner { gap: 36px; }
  .character-card { padding-inline: 12px; }
  .journey-home .hero__title { font-size: clamp(2rem, 5vw, 3.5rem); }
  .journey__layout { grid-template-columns: 1fr 1.2fr; gap: 32px; }
  .timeline__stop { padding-left: 52px; }
  .journey-home .nav__links { gap: 18px; }
}
@media (max-width: 640px) {
  .journey-home .hero { padding: 40px 0; }
  .journey-home .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .journey-home .character-card { order: 0; width: min(100% - 16px, 340px); padding-inline: 16px; transform: rotate(2deg); }
  .journey-home .hero__title { font-size: clamp(2.1rem, 8.7vw, 3.4rem); }
  .journey-home .hero__body { font-size: 1rem; margin-bottom: 0; }
  .journey-home .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .journey-home .hero__actions .btn { width: auto; }
  .section-heading { align-items: start; flex-direction: column; }
  .journey-home .section { padding-block: 56px; }
  .journey__layout { grid-template-columns: 1fr; gap: 40px; }
  .journey__intro { position: static; }
  .journey__map { display: none; }
  .timeline__stop { padding-left: 50px; }
  .timeline__stop--now .timeline__chapter { padding: 18px; }
  .timeline__here { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-home *, .journey-home *::before, .journey-home *::after { transition: none !important; animation: none !important; }
}

/* A reserved edge lane keeps the scroll companions off the content. */
.journey-home.has-companions { --trail-width: 72px; }
.journey-home.has-companions :is(.nav, .hero, .section, .footer) { padding-left: var(--trail-width); }
.travel-trail[hidden] { display: none; }
.travel-trail { position: fixed; inset: 0 auto 0 0; width: var(--trail-width); background: transparent; mix-blend-mode: multiply; z-index: 101; }
.travel-trail__route { position: absolute; top: 80px; bottom: 20px; width: 100%; }
.travel-trail__route::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dotted #bdc5a5; }
.travel-trail__party { position: absolute; top: 0; width: 100%; display: flex; flex-direction: column-reverse; align-items: center; transform: translateY(var(--travel-y, 0px)); will-change: transform; mix-blend-mode: multiply; }
.pixel-sprite { display: block; flex-shrink: 0; background-repeat: no-repeat; background-size: 100% 600%; background-position: 0 0; image-rendering: pixelated; }
.travel-trail__sacha { width: 48px; height: 48px; background-image: url('/images/pokemon-yellow-red.png'); }
.travel-trail__pikachu { width: 48px; height: 48px; margin-bottom: 9px; background-image: url('/images/pokemon-yellow-pikachu.png'); }
.is-walking .pixel-sprite { animation: companion-walk .48s step-end infinite; }
.is-walking .travel-trail__pikachu { animation-delay: -.12s; }
@keyframes companion-walk {
  0%, 50%, 100% { background-position: 0 0%; transform: scaleX(1); }
  25% { background-position: 0 60%; transform: scaleX(1); }
  75% { background-position: 0 60%; transform: scaleX(-1); }
}
@media (max-width: 640px) {
  .journey-home.has-companions { --trail-width: 28px; }
  .journey-home.has-companions :is(.hero, .section, .footer) { padding-right: 8px; }
  .journey-home.has-companions .nav { padding-inline: 0; }
  .travel-trail__sacha { width: 24px; height: 24px; }
  .travel-trail__pikachu { width: 24px; height: 24px; margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .travel-trail__party { transform: none; will-change: auto; }
  .travel-trail * { animation: none !important; }
}

/* Color palettes are applied in the browser; the original sprite sheets stay intact. */
.sprite-palettes { position: absolute; overflow: hidden; pointer-events: none; }
.travel-trail__pikachu { filter: url('#sprite-yellow'); }
.travel-trail__sacha { position: relative; background-image: none; }
.travel-trail__sacha::before, .travel-trail__sacha::after, .trainer-colors {
  content: ''; position: absolute; inset: 0;
  background-image: url('/images/pokemon-yellow-red.png');
  background-size: inherit; background-position: inherit; background-repeat: no-repeat;
  image-rendering: pixelated; pointer-events: none;
}
.travel-trail__sacha::before { filter: url('#sprite-red'); clip-path: inset(0 0 56.25%); }
.trainer-colors { filter: url('#sprite-skin'); clip-path: inset(43.75% 0 31.25%); }
.travel-trail__sacha::after { filter: url('#sprite-blue'); clip-path: inset(68.75% 0 0); }

/* Playground covers: pastel colors, top titles, car and envelope illustrations. */
.journey-home .project-cover {
  aspect-ratio: 4 / 3;
  padding: clamp(24px, 3vw, 44px);
  border: 0;
  justify-content: space-between;
  align-items: flex-start;
}
.journey-home .project-cover--car { background: #c5dfed; color: #23394b; }
.journey-home .project-cover--newsletter { background: #f2b38e; color: #703a2d; }
.journey-home .project-cover .project-card__name { font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.05; max-width: 12ch; }
.journey-home .project-cover .project-card__name::after { content: none; }
.project-cover__icon { display: block; align-self: center; width: min(75%, 290px); margin-top: 12px; overflow: visible; }
.cover-car { transform: rotate(-7deg); transform-origin: 50% 65%; transition: transform .25s ease; }
.cover-letter { transform: rotate(9deg); transform-origin: center; transition: transform .25s ease; }
.cover-spark { transform-origin: 84% 24%; transition: transform .25s ease; }
@media (hover: hover) {
  .project-cover:hover .cover-car { transform: rotate(-3deg) translateY(-4px); }
  .project-cover:hover .cover-letter { transform: rotate(3deg) translateY(-5px); }
  .project-cover:hover .cover-spark { transform: scale(1.15); }
}
@media (max-width: 640px) {
  .journey-home .projects__grid--side { grid-template-columns: minmax(0, 1fr); }
  .journey-home .project-cover { aspect-ratio: 1; min-width: 0; width: 100%; min-height: 300px; padding: 28px; }
  .journey-home .project-cover .project-card__name { font-size: 2rem; }
  .project-cover__icon { width: 85%; height: auto; min-height: 0; }
}

.trail-confetti { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 150; }
.trail-confetti__piece { position: absolute; width: 7px; height: 11px; border-radius: 1px; }

.journey-home .project-cover--music { background: #ded2ee; color: #493963; }
.journey-home .project-cover--garage { background: #d7e2d4; color: #384b40; }
.journey-home .project-cover--valentine { background: #f2d2dc; color: #793c50; }
.journey-home .project-cover--stores { background: #eee4b6; color: #4f5939; }
.projects__grid--quests { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.projects__grid--side + .projects__grid--quests { margin-top: 22px; }
.journey-home .projects__grid--quests .project-card__name { font-size: clamp(1.5rem, 2.6vw, 2.5rem); max-width: 16ch; }
.cover-object { transform: rotate(-6deg); transform-origin: center; transition: transform .25s ease; }
@media (hover: hover) { .project-cover:hover .cover-object { transform: rotate(0deg) translateY(-3px); } }
@media (max-width: 640px) {
  .projects__grid--quests { grid-template-columns: minmax(0, 1fr); }
  .journey-home .projects__grid--quests .project-card__name { font-size: 1.8rem; }
}

.project-cover__portrait { position: absolute; bottom: 0; left: 16%; width: 76%; height: 78%; object-fit: contain; object-position: center bottom; transition: transform .25s ease; }
@media (hover: hover) { .project-cover:hover .project-cover__portrait { transform: translateY(-3px); } }

.project-cover__vehicle { position: absolute; bottom: 4%; left: 5%; width: 90%; height: 65%; object-fit: contain; transition: transform .25s ease; }
@media (hover: hover) { .project-cover:hover .project-cover__vehicle { transform: translateY(-4px) rotate(-2deg); } }

.project-cover--newsletter .cover-letter { transform: rotate(4deg); }
@media (hover: hover) { .project-cover--newsletter:hover .cover-letter { transform: rotate(0deg) translateY(-3px); } }

/* One illustration family: shared ink, consistent stage and restrained motion. */
.journey-home .project-cover .project-card__name {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  max-width: 16ch;
  position: relative;
  z-index: 1;
}
.project-cover :is(.project-cover__icon, .project-cover__portrait, .project-cover__vehicle) {
  position: absolute;
  left: 14%;
  bottom: 7%;
  width: 72%;
  height: 58%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transition: transform .25s ease;
}
.project-cover .project-cover__portrait { left: 22%; width: 56%; }
.project-cover :is(.cover-car, .cover-letter, .cover-object) { transform: none; }
@media (hover: hover) {
  .project-cover:hover :is(.cover-car, .cover-letter, .cover-object) { transform: none; }
  .project-cover:hover :is(.project-cover__icon, .project-cover__portrait, .project-cover__vehicle) { transform: translateY(-4px) rotate(-2deg); }
}
@media (max-width: 640px) {
  .journey-home .project-cover .project-card__name { font-size: 1.8rem; }
}

/* Classic trading-card hierarchy: name, artwork, ability, move, traits, fine print. */
.journey-home .character-card {
  padding: 10px 13px 9px;
  border: 10px solid #e7bd48;
  border-radius: 17px;
  background: radial-gradient(ellipse at 20% 35%, #fff6c9 0, transparent 58%), linear-gradient(135deg, #e9d497, #f8e9b7 55%, #dac38b);
}
.character-card__header { gap: 6px; padding: 0 0 7px; }
.character-card__stage {
  align-self: flex-start;
  margin: 3px 1px 0 -4px;
  padding: 2px 5px;
  border: 1px solid #958968;
  border-radius: 7px 2px 7px 2px;
  background: linear-gradient(#fffdf0, #d4cdb6);
  font: italic 700 .48rem/1 'Inter', sans-serif;
}
.character-card__header h2 { margin-right: auto; font-size: 1.6rem; letter-spacing: -.06em; }
.character-card__hp { font-size: 1.3rem; color: #9b3426; }
.character-card__hp small { font-size: .55rem; }
.character-card__portrait { border: 4px solid #b69b5c; box-shadow: 0 1px 0 #fff8df, inset 0 0 0 1px #73603b; }
.journey-home .character-card .hero__photo-img { aspect-ratio: 1.48; }
.character-card__species { font-size: .48rem; padding: 3px 2px; margin: 3px 0 12px; border-radius: 0; border-bottom: 1px solid #ac8b49; }
.character-card__ability { margin: 0 2px 13px; }
.character-card__ability-label { font-size: .48rem; padding: 2px 6px; margin: 0; border-radius: 8px 2px; }
.character-card h3 { font-size: .84rem; }
.character-card__ability h3 { margin-left: 3px; }
.character-card__ability p, .character-card__move p { font-size: .61rem; line-height: 1.4; margin-top: 4px; }
.character-card__move { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; margin: 0 2px; padding: 6px 0 14px; }
.character-card__cost { display: flex; gap: 2px; }
.character-card__cost i { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #887342; border-radius: 50%; background: #f4d963; font: 700 14px/1 sans-serif; }
.character-card__power { font-size: 1.3rem; }
.character-card__traits { padding: 5px 0; border-block: 1px solid #937637; }
.character-card__traits dt { font-size: .45rem; }
.character-card__traits dd { font-size: .57rem; margin-top: 2px; }
.character-card__flavour { margin: 8px 2px; padding: 5px 7px; border: 1px solid #bba16c; border-radius: 0 8px; font-size: .56rem; line-height: 1.4; }
.character-card__footer { justify-content: flex-end; gap: 4px; font-size: .43rem; letter-spacing: .025em; }

.timeline__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 12px; width: 100%; max-width: 280px; margin: 22px 0 6px; }
.timeline__logos img { display: block; width: 100%; min-width: 0; height: 24px; object-fit: contain; mix-blend-mode: multiply; }

.journey-home .projects__grid--playground { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.journey-home .projects__grid--playground .project-card__name { font-size: clamp(1.3rem, 2.1vw, 2.2rem); }
@media (min-width: 641px) and (max-width: 900px) {
  .journey-home .projects__grid--playground { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .journey-home .projects__grid--playground { grid-template-columns: minmax(0, 1fr); }
  .journey-home .projects__grid--playground .project-card__name { font-size: 1.8rem; }
}

/* Context on focus/hover, always visible for touch and without hover support. */
.project-cover__description {
  position: absolute; left: 24px; right: 24px; bottom: 18px;
  font-size: .8rem; line-height: 1.4; color: #35332f; z-index: 2;
}
.project-cover :is(.project-cover__icon, .project-cover__portrait, .project-cover__vehicle) { bottom: 19%; height: 49%; }
@media (min-width: 641px) and (hover: hover) and (pointer: fine) {
  .project-cover__description { opacity: 0; transition: opacity .2s ease; }
  .project-cover:hover .project-cover__description,
  .project-cover:focus-visible .project-cover__description { opacity: 1; }
}
.project-cover:focus-visible { outline: 3px solid #9b542c; outline-offset: 4px; }
.testimonials__track { align-items: stretch; }
.testimonial-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; gap: 16px; }
.testimonial-card__expand { align-self: flex-start; border: 0; background: none; color: #75513b; padding: 8px 0; font: inherit; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.testimonial-card__expand[hidden], .testimonial-card__remainder[hidden] { display: none; }
.testimonial-card__expand:focus-visible { outline: 2px solid #9b542c; outline-offset: 4px; }
@media (max-width: 640px) {
  .journey-home .project-cover {
    display: grid;
    grid-template-rows: auto minmax(140px, 1fr) auto;
    gap: 22px;
    aspect-ratio: auto;
    min-height: 360px;
  }
  .project-cover :is(.project-cover__icon, .project-cover__portrait, .project-cover__vehicle) {
    position: static;
    grid-row: 2;
    justify-self: center;
    width: 85%;
    height: 140px;
  }
  .project-cover .project-cover__portrait { width: 56%; }
  .project-cover__description { position: static; grid-row: 3; }
  .testimonial-card { flex-basis: 100%; padding: 22px; }
  .testimonial-card__quote { font-size: .9rem; line-height: 1.65; }
  .testimonial-card__expand { min-height: 44px; }
  .journey-home .character-card__flavour { font-size: .72rem; line-height: 1.5; padding: 7px; }
  .journey-home .character-card__footer { font-size: .65rem; }
  .journey-home .character-card__species { font-size: .6rem; }
}

/* A concrete example of the work behind the Shopify chapter. */
.timeline__impact { margin-top: 16px; }
.timeline__quote { margin: 16px 0 0; padding: 8px 0 8px 16px; border-left: 2px solid var(--accent); }
.timeline__quote p { font-size: .95rem; line-height: 1.6; color: var(--text); }
.timeline__quote cite { display: block; margin-top: 4px; font-size: .75rem; line-height: 1.5; font-style: normal; color: #625e56; }
