/* A whole plate, a hand entering from the page edge, and falling parmesan. */
.about { overflow: clip; }
.pasta-scene { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1; flex: none; }
.pasta-scene .pasta-plate { position: absolute; z-index: 1; width: 108%; max-width: none; height: auto; left: -5%; bottom: -1%; aspect-ratio: 3 / 2; object-fit: contain; }
.parmesan-hand { position: absolute; z-index: 3; width: 102%; max-width: none; height: auto; left: 28%; top: -5%; transform-origin: 100% 40%; pointer-events: none; animation: parmesan-sprinkle 3.8s ease-in-out infinite; }
.parmesan-fall { position: absolute; z-index: 2; left: 49%; top: 47%; width: 1px; height: 25%; pointer-events: none; }
.parmesan-fall i { position: absolute; left: var(--start); top: 0; width: var(--size); height: calc(var(--size) * 1.7); border-radius: 30% 60% 35% 20%; background: #fff3d6; box-shadow: .4px .4px .5px #ac79386b; animation: parmesan-fall var(--duration) cubic-bezier(.3,.08,.72,.58) var(--delay) infinite; }
@keyframes parmesan-sprinkle { 0%,100% { transform: rotate(-1deg) translateY(-1%); } 25% { transform: rotate(.7deg); } 50% { transform: rotate(-.4deg) translateY(.6%); } 75% { transform: rotate(.8deg); } }
@keyframes parmesan-fall { 0% { opacity: 0; transform: translate(0,0) rotate(0deg); } 12% { opacity: .95; } 85% { opacity: .95; } 100% { opacity: 0; transform: translate(var(--drift),clamp(65px,7vw,120px)) rotate(var(--turn)); } }
.pasta-scene[data-offscreen="true"] :is(.parmesan-hand,.parmesan-fall i) { animation-play-state: paused; }
@media (min-width: 641px) { .about-aside p { margin-top: .4vw; } }
@media (max-width: 640px) {
  .about-layout { gap: 14px; margin-top: 22px; }
  .interior img { aspect-ratio: 16 / 10; }
  .about-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 12px;
    align-items: end;
  }
  .pasta-scene {
    grid-column: 1 / -1;
    grid-row: 1;
    width: calc(100% + 44px);
    aspect-ratio: 1.72;
    margin: 0 -22px;
    overflow: visible;
  }
  .pasta-scene .pasta-plate { width: 76%; left: 2%; bottom: -12%; }
  .parmesan-hand { width: 80%; left: 37%; top: -25%; }
  .parmesan-fall { left: 50%; top: 31%; height: 34%; }
  .about-aside p {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    margin: 0;
    max-width: 230px;
    font-size: clamp(24px, 6.8vw, 28px);
    line-height: 1.08;
  }
  .about-aside .oval {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: auto;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 17px;
    gap: 9px;
    font-size: 18px;
  }
  .parmesan-fall i { animation-name: parmesan-fall-mobile; }
  @keyframes parmesan-fall-mobile { 0% { opacity: 0; transform: translate(0,0) rotate(0deg); } 12%,85% { opacity: .95; } 100% { opacity: 0; transform: translate(calc(var(--drift) * .7),20vw) rotate(var(--turn)); } }
}
@media (max-width: 360px) {
  .about-aside { grid-template-columns: 1fr; }
  .pasta-scene { grid-column: 1; grid-row: 1; }
  .pasta-scene .pasta-plate { width: 80%; }
  .parmesan-hand { width: 82%; left: 36%; }
  .about-aside p { grid-column: 1; grid-row: 2; max-width: 260px; }
  .about-aside .oval { grid-column: 1; grid-row: 3; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .parmesan-hand { animation: none; } .parmesan-fall { display: none; } }
