/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Subtle hover layer. Interface hovers stay at or under 200 ms (brand-spec motion budget). */
:root { --hover-ease: cubic-bezier(0.23, 1, 0.32, 1); }

/* nav + footer links: a hairline draws in from the left */
.nav-links a, .foot-links a { position: relative; }
.nav-links a::after, .foot-links a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform 200ms var(--hover-ease);
}
.nav-links a:hover::after, .foot-links a:hover::after,
.nav-links a:focus-visible::after, .foot-links a:focus-visible::after { transform: scaleX(1); }
.foot-links a { transition: color 160ms ease; }
.foot-links a:hover { color: var(--fg); }

/* honors grid (About): the row lifts to the surface tone and the title slides a touch.
   The stacked .rec-list rows already carry their own hover in each page. */
.rec-grid li a { transition: background-color 200ms ease, color 160ms ease; }
.rec-grid li a .rec-what { display: inline-block; transition: transform 200ms var(--hover-ease); }
.rec-grid li a[href]:hover { background-color: color-mix(in oklch, var(--fg) 4%, transparent); }
.rec-grid li a[href]:hover .rec-what { transform: translateX(4px); }
.rec-grid li a:not([href]) { cursor: default; }

/* text links with arrows: the arrow nudges forward */
.text-link svg, .more-link svg, .film-link svg { transition: transform 200ms var(--hover-ease); }
.text-link:hover svg, .more-link:hover svg, .film-link:hover svg { transform: translateX(3px); }

/* primary buttons: a 1px lift and a soft red glow */
.btn-send, .btn, .cta-band a {
  transition: background-color 160ms ease, transform 200ms var(--hover-ease), box-shadow 200ms ease;
}
.btn-send:hover, .btn:hover, .cta-band a:hover { transform: translateY(-1px); box-shadow: 0 10px 26px oklch(51% 0.2 25 / 0.28); }
.btn-send:active, .btn:active, .cta-band a:active { transform: translateY(0); box-shadow: none; transition-duration: 80ms; }

/* form fields: border brightens on hover, red on focus */
input, textarea { transition: border-color 160ms ease, background-color 160ms ease; }
input:hover, textarea:hover { border-color: oklch(100% 0 0 / 0.22); }

/* linked photos: a slow, small push-in */
a .film-media img, a figure img, .film-featured a img { transition: transform 600ms var(--hover-ease); }
a:hover .film-media img, a:hover figure img, .film-featured a:hover img { transform: scale(1.02); }

@media (hover: none) {
  .rec-grid li a[href]:hover .rec-what { transform: none; }
  .btn-send:hover, .btn:hover, .cta-band a:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after, .foot-links a::after, .rec-what, .btn-send, .btn, .cta-band a, a img { transition: none !important; }
}

/* Readability floor: status tags were 10px */
.tag, .fb-tag { font-size: 11px; }

/* Touch: grow small text links to a 24px+ hit area without moving their underlines */
@media (pointer: coarse), (max-width: 700px) {
  .foot-links a, .side-block a, .hero-press a, .text-link, .film-link, .rec-note a,
  .credits-link a, .fb-more, .hero-cue { position: relative; }
  .foot-links a::before, .side-block a::before, .hero-press a::before, .text-link::before,
  .film-link::before, .rec-note a::before, .credits-link a::before, .fb-more::before, .hero-cue::before {
    content: ""; position: absolute; inset: -10px -6px;
  }
  .side-block a { padding-block: 6px; }
}

/* Contrast: small red text needs 4.5:1 on --bg. accent-hover lifted for text (5.35:1);
   filled buttons hover to a deeper red so the light label stays at 5.16:1. */
:root { --accent-hover: oklch(64% .2 25); --accent-press: oklch(54% .21 25); }
.btn-send:hover, .btn:hover { background: var(--accent-press); }
.hero-press a { white-space: nowrap; }
