/* Bullhead motion kit: scroll-snap carousel, "walk in" scroll section, hero entrance. No libraries. */

/* ---------- Carousel ---------- */
.bh-car { position: relative; padding: 56px 0 40px; background: var(--cream); }
.bh-car__head { padding: 0 var(--edge); margin-bottom: 22px; }
.bh-car__kicker { margin: 0 0 6px; font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.bh-car__title { font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.1; margin: 0; }
.bh-car__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 10px; scroll-padding-inline: var(--edge);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.bh-car__track::-webkit-scrollbar { display: none; }
.bh-car__track:focus-visible { outline: 3px solid var(--cognac); outline-offset: 4px; border-radius: 14px; }
.bh-car__slide {
  flex: 0 0 min(86vw, 640px); scroll-snap-align: center; margin: 0; position: relative;
  border-radius: 18px; overflow: hidden; background: var(--cream-deep); aspect-ratio: 4 / 3;
  box-shadow: 0 10px 28px rgba(36, 23, 18, .14);
}
.bh-car__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-car__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 18px 14px; color: #fff;
  font: 500 .95rem/1.3 var(--font-body); background: linear-gradient(to top, rgba(20, 12, 8, .72), rgba(20, 12, 8, 0));
}
.bh-car__ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--edge) 0; }
.bh-car__dots { display: flex; gap: 8px; }
.bh-car__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(36, 23, 18, .25); cursor: pointer; transition: width .25s ease, background .25s ease; }
.bh-car__dots button[aria-current="true"] { width: 26px; border-radius: 6px; background: var(--ink); }
.bh-car__arrows { display: none; gap: 10px; }
.bh-car__arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(36, 23, 18, .25); background: #fff;
  color: var(--ink); font-size: 1.15rem; cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.bh-car__arrows button:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.bh-car__arrows button:disabled { opacity: .35; pointer-events: none; }
@media (hover: hover) and (min-width: 760px) { .bh-car__arrows { display: flex; } }

/* ---------- Walk in: one place at a time ----------
   Without JS, or for visitors who ask for less motion, this is a plain list of four cards, each with its own photo. */
.bh-walk { background: var(--ink); color: #fff; }
.bh-walk__head { padding: 56px var(--edge) 18px; }
.bh-walk__head .bh-car__kicker { color: #f0b48a; }
.bh-walk__head h2 { color: #fff; font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.1; margin: 0 0 8px; }
.bh-walk__head p { margin: 0; color: rgba(255,255,255,.78); max-width: 46ch; }
.bh-walk__frame { display: none; }
.bh-walk__cards { display: grid; gap: 14px; padding: 22px var(--edge) 48px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.bh-walk__stop { padding: 14px 14px 20px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.bh-walk__pic { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; margin: 0 0 14px; }
.bh-walk__no { margin: 0 6px 6px; font: 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #f0b48a; }
.bh-walk__stop h3 { margin: 0 6px 6px; color: #fff; font-size: 1.35rem; line-height: 1.15; }
.bh-walk__stop p:not(.bh-walk__no) { margin: 0 6px 14px; color: rgba(255,255,255,.86); font-size: .98rem; }
.bh-walk__stop .btn { display: inline-block; margin-left: 6px; }
.bh-walk__dots { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .bh-walk.is-live .bh-walk__runway { height: 340vh; position: relative; }
  .bh-walk.is-live .bh-walk__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
  .bh-walk.is-live .bh-walk__head { padding-top: 84px; padding-bottom: 0; }
  .bh-walk.is-live .bh-walk__frame { display: block; position: relative; height: min(40svh, 380px); margin: 0 var(--edge); border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 18px 46px rgba(0,0,0,.4); }
  .bh-walk.is-live .bh-walk__frame .bh-walk__pic {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; margin: 0;
    opacity: 0; transform: scale(1.07); transition: opacity .7s ease, transform 1.6s cubic-bezier(.2,.6,.2,1); will-change: opacity, transform;
  }
  .bh-walk.is-live .bh-walk__frame .bh-walk__pic.is-on { opacity: 1; transform: none; }
  .bh-walk.is-live .bh-walk__cards { display: block; position: relative; padding: 0 var(--edge); min-height: 190px; }
  .bh-walk.is-live .bh-walk__stop { position: absolute; left: var(--edge); right: var(--edge); max-width: 460px; padding: 0; background: none; border: 0; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
  .bh-walk.is-live .bh-walk__stop.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .bh-walk.is-live .bh-walk__stop .bh-walk__no, .bh-walk.is-live .bh-walk__stop h3, .bh-walk.is-live .bh-walk__stop p:not(.bh-walk__no) { margin-left: 0; margin-right: 0; }
  .bh-walk.is-live .bh-walk__stop .btn { margin-left: 0; }
  .bh-walk.is-live .bh-walk__dots { display: flex; gap: 8px; padding: 0 var(--edge) 18px; margin: 0; list-style: none; }
  .bh-walk.is-live .bh-walk__dots li { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); transition: width .25s ease, background .25s ease; }
  .bh-walk.is-live .bh-walk__dots li.is-on { width: 26px; border-radius: 6px; background: #fff; }
}

/* Wide screens: text left, framed photo right */
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .bh-walk.is-live .bh-walk__stick {
    display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); grid-template-rows: 1fr auto 1fr;
    align-content: center; padding: 0 var(--edge); gap: 0 clamp(28px, 4vw, 56px);
  }
  .bh-walk.is-live .bh-walk__head { grid-column: 1; grid-row: 1; align-self: end; padding: 84px 0 18px; }
  .bh-walk.is-live .bh-walk__cards { grid-column: 1; grid-row: 2; padding: 0; min-height: 210px; }
  .bh-walk.is-live .bh-walk__stop { left: 0; right: 0; max-width: none; }
  .bh-walk.is-live .bh-walk__dots { grid-column: 1; grid-row: 3; align-self: start; padding: 18px 0 0; }
  .bh-walk.is-live .bh-walk__frame { grid-column: 2; grid-row: 1 / span 3; align-self: center; height: min(66svh, 620px); margin: 40px 0 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
}

/* ---------- Hero entrance (CSS only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-media { animation: bhPush 16s cubic-bezier(.2, .6, .2, 1) both; }
  .hero-logo, .hero-kicker, .hero-headline, .hero-sub, .hero-actions { animation: bhRise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
  .hero-logo { --d: .05s; } .hero-kicker { --d: .2s; } .hero-headline { --d: .35s; } .hero-sub { --d: .65s; } .hero-actions { --d: .85s; }
  @keyframes bhPush { from { transform: scale(1.07); } to { transform: scale(1); } }
  @keyframes bhRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

.menu-category { scroll-margin-top: 96px; }
