/* Light touches inspired by tasteskill (design-taste-frontend, MIT): only interaction and finish —
   colours, layout, sections and text stay as they are. Delete this file's <link> in views/partials/head.ejs to remove them. */

/* 1 · linked cards lift 2px with a soft shadow; their photo zooms slightly inside its frame */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pcard, .offer, .ot-card, .bill { transition: transform .2s ease, box-shadow .2s ease }
  .pcard:hover, .offer:hover, .ot-card:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 26px rgba(11, 31, 58, .12) !important }
  .pcard .img, .offer .offer-img { overflow: hidden }
  .pcard .img img, .offer .offer-img img { transition: transform .4s ease }
  .pcard:hover .img img, .offer:hover .offer-img img { transform: scale(1.03) }

  /* 2 · buttons step up on hover and press on click */
  .btn { transition: transform .12s ease, filter .12s ease, box-shadow .12s ease }
  .btn:hover { transform: translateY(-1px); filter: brightness(1.06) }
  .btn:active { transform: translateY(0) scale(.98); filter: brightness(.97) }
}

/* 4 · the headline enters once, gently (nothing moves when the phone asks for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .h-hero .wrap > div:first-child { animation: bct-enter .55s ease-out both }
  .h-hero .hero-art { animation: bct-enter .7s .12s ease-out both }
}
@keyframes bct-enter { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* 5 · keyboard focus always visible; phone buttons at least 44px tall */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px
}
@media (max-width: 700px) {
  .btn { min-height: 44px }
}
