.offer-grid { border-bottom: 1px solid var(--line); }
.projects-grid { gap: 18px; }
#about,
#experience,
#mentoring,
#projects { border-top: 0; }
#projects .project-card {
  min-height: 280px;
  padding: 27px;
  border: 1px solid var(--line);
  background: #fff4;
}
.timeline li:last-child { border-bottom: 0; }
.pencil-trail { z-index: 2; }
.skip-link { z-index: 3; }
.about-heading { position: relative; align-self: start; }
.clear-step-note {
  position: absolute;
  top: calc(100% + 0.06em);
  left: 50%;
  color: #fff;
  font: 700 1.25em/0.92 Arial, Helvetica, sans-serif;
  letter-spacing: -0.045em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.08em);
  transition: opacity 3200ms ease 350ms, transform 3200ms ease 350ms;
}
.about-heading.is-revealing .clear-step-note {
  opacity: 0.45;
  transform: translate(-50%, 0);
  transition: opacity 1800ms ease 80ms, transform 1800ms ease 80ms;
}

.quiet-link,
.text-link,
.button {
  display: inline-flex;
  transition: font-style 160ms ease;
}
.quiet-link:hover,
.text-link:hover,
.button:hover {
  font-style: oblique 12deg;
}

.hero { position: relative; overflow: clip; }
.hero > :not(.hero-portrait) { position: relative; z-index: 1; }
.hero-portrait {
  position: absolute;
  right: clamp(-28px, 1vw, 16px);
  bottom: 0;
  width: min(37vw, 430px);
  max-height: 88%;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0.92;
  filter: grayscale(0.22) contrast(0.95);
  pointer-events: none;
  transform-origin: center bottom;
  transition: transform 180ms ease-out, filter 220ms ease;
  will-change: transform;
}
.hero:hover .hero-portrait { filter: grayscale(0.05) contrast(0.98); }

@media (min-width: 720px) {
  .offer-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
  #projects .project-card.featured { min-height: 330px; }
}

@media (max-width: 719px) {
  .offer-grid article:last-child { border-bottom: 0; }
  .hero-portrait { display: none; }
}
