/* V7: independent scale composes with the original rotation/hover transforms.
   Only compositing changes: no width, height, padding or border changes. */
.press-surface {
  --press-amount: 1.12;
  scale: 1;
  transform-origin: center;
  transition-property: transform, background, color, border-color, box-shadow, opacity, scale;
  transition-duration: .3s, .22s, .22s, .22s, .22s, .2s, .52s;
  transition-timing-function: var(--spring), ease, ease, ease, ease, ease, cubic-bezier(.16,1.035,.3,1);
}
.hero-tile.press-surface,.project-card.press-surface {--press-amount:1.045}
.brand-name.press-surface {--press-amount:1.055}
.menu-toggle.press-surface {--press-amount:1.15}
.disclosure-icon.press-surface {--press-amount:1.18}
summary.press-surface {--press-amount:1.025}
.press-surface.is-pressing {
  scale: var(--press-amount);
  transition-duration: .3s, .22s, .22s, .22s, .22s, .2s, .42s;
  transition-timing-function: var(--spring), ease, ease, ease, ease, ease, cubic-bezier(.22,.48,.25,1);
}
/* A touch press has no hover lift or image zoom; desktop hover is retained. */
html.touch-press-input .press-surface:hover {transform:none}
html.touch-press-input .tile-audio:hover {transform:rotate(-2deg)}
html.touch-press-input .tile-citrus:hover {transform:rotate(2deg)}
html.touch-press-input .tile-fragrance:hover {transform:rotate(-1.5deg)}
html.touch-press-input .hero-tile:hover img,html.touch-press-input .project-card:hover img {transform:none}
@media (prefers-reduced-motion:reduce) {
  .press-surface,.press-surface.is-pressing {scale:1!important;transition:none!important}
}
html.reduced-motion .press-surface,html.reduced-motion .press-surface.is-pressing {scale:1!important;transition:none!important}
/* Old browsers keep native activation and focus without a scale animation. */
@supports not (scale:1.01) {.press-surface{transition-property:background,color,border-color,box-shadow}}

#main-nav a.press-surface {--press-amount:1.09}
.filter.press-surface,.process-tab.press-surface {--press-amount:1.10}
