/* Homepage only. Original TAF bird and torn paper; current editorial layout. */
.home-heritage {
  --paper: #f5f5f5;
  --ink: #252524;
  --muted: #646463;
  --line: #dededb;
  --coral: #ff6f61;
  background: var(--paper);
}
.home-heritage .site-header,
.home-heritage .hero,
.home-heritage .about { position: relative; isolation: isolate; }
.home-heritage .site-header::before,
.home-heritage .hero::before,
.home-heritage .about::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
  pointer-events: none;
}
.home-heritage .hero { border-bottom: 0; padding-bottom: 76px; }
.home-heritage .hero::after,
.home-heritage .about::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: 100vw;
  height: clamp(36px, 5vw, 68px);
  transform: translateX(-50%);
  background: url('/showcase/assets/heritage/paper-edge.png') center top / 100% 100% no-repeat;
  pointer-events: none;
}
.home-heritage .hero-title { position: relative; max-width: 710px; }
.home-heritage .hero-title h1 span { display: block; }
.home-heritage .hero-title h1 .heritage-stop { display: inline; color: var(--coral); }
.home-heritage .taf-mascot {
  position: absolute;
  right: 40px;
  bottom: 4px;
  width: 108px;
  height: auto;
  transform: none;
  pointer-events: none;
}
.home-heritage .projects { padding-top: 72px; }
.home-heritage .site-header a:hover { color: #9b3b32; }
.home-heritage a:focus-visible { outline-color: #b94439; }
.home-heritage .text-link { border-bottom-color: var(--coral); }
.home-heritage .site-header nav a:last-child { border-bottom-color: var(--coral); }
.home-heritage .art { border-radius: 2px; }
.home-heritage .about { border-top: 0; padding-top: 64px; padding-bottom: 60px; }
.home-heritage .about .about-label { display: flex; align-items: center; gap: 10px; }
.home-heritage .about .about-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}
.home-heritage footer { border-top: 0; padding-top: 78px; }
@media (max-width: 950px) {
  .home-heritage .taf-mascot { right: 70px; width: 106px; }
  .home-heritage .hero { padding-bottom: 54px; }
}
@media (max-width: 650px) {
  .home-heritage .hero { padding-bottom: 38px; }
  .home-heritage .taf-mascot { right: 4px; width: clamp(68px, 19vw, 100px); bottom: 0; }
  .home-heritage .projects { padding-top: 55px; }
  .home-heritage .hero::after,
  .home-heritage .about::after { height: 32px; background-size: 850px 60px; }
  .home-heritage .about { padding-top: 40px; padding-bottom: 42px; }
  .home-heritage footer { padding-top: 55px; }
}
@media (max-width: 360px) {
  .home-heritage .taf-mascot { width: 60px; bottom: -5px; right: 0; }
}

/* A second, static glimpse of the mascot at the actual end of the page. */
.home-heritage .footer-scene {
  position: relative;
  overflow: hidden;
  padding-bottom: 90px;
}
.home-heritage .taf-footer-mascot {
  position: absolute;
  right: -92px;
  bottom: -53px;
  width: 190px;
  height: auto;
  max-width: none;
  transform: scaleX(-1) rotate(8deg);
  pointer-events: none;
}
@media (max-width: 650px) {
  .home-heritage .taf-footer-mascot { width: 150px; right: -70px; bottom: -45px; }
  .home-heritage .footer-scene { padding-bottom: 72px; }
}
