/* Yokoi Sushi enhancement layer — loaded after the Webflow stylesheet.
   Brand tokens: blue-dark #051323, red #ff2600, white #fff (from Webflow :root). */

/* ---------- Subpage hero: one enlarged panel of the home video collage ---------- */
/* The home hero video is a single file holding 4 vertical clips side by side.
   Each subpage crops to one panel: the video box is 4x the hero width and
   shifted left by the panel index, so exactly one clip fills the frame. */
.yk-hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2; /* above the static photo (z-index 1), below the tint */
}
.yk-hero-video video {
  position: absolute;
  top: 0;
  height: 100%;
  width: 400%;
  object-fit: cover;
}
.yk-hero-video[data-panel="0"] video { left: 0; }
.yk-hero-video[data-panel="1"] video { left: -100%; }
.yk-hero-video[data-panel="2"] video { left: -200%; }
.yk-hero-video[data-panel="3"] video { left: -300%; }
/* keep the dark tint above the video, content above that */
.header5_background-image-wrapper .image-overlay-layer { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .yk-hero-video { display: none; }
}

/* ---------- Scroll reveal (class added by JS; no-JS users see everything) ---------- */
.yk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.yk-reveal.yk-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .yk-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Card polish: lift on hover, dish photos breathe ---------- */
.menu-item-card,
.promo-item-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.menu-item-thumbnail,
.promo-item-thumb {
  overflow: hidden;
}
.menu-item-thumbnail img,
.promo-item-thumb img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .menu-item-card:hover,
  .promo-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -18px rgba(255, 38, 0, 0.45);
  }
  .menu-item-card:hover .menu-item-thumbnail img,
  .promo-item-card:hover .promo-item-thumb img {
    transform: scale(1.05);
  }
  .button:hover {
    transform: translateY(-2px);
  }
}

/* ---------- Quality floor ---------- */
:focus-visible {
  outline: 2px solid #ff2600;
  outline-offset: 3px;
}
::selection {
  background: #ff2600;
  color: #fff;
}

/* ---------- Temporary closure notice (homepage hero) ---------- */
/* Sits in the hero content slot above the video + tint. Brand red on deep blue,
   Obviouslydemo display face to match .big-title / .tagline. */
.yk-closed-notice {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  text-align: center;
  color: #fff;
  background: rgba(5, 19, 35, 0.82);
  border: 2px solid #ff2600;
  border-radius: 0.5rem;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 38, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yk-closed-notice_kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.75rem;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: #ff2600;
  border-radius: 999px;
}
.yk-closed-notice_title {
  font-family: Obviouslydemo, Arial, sans-serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}
.yk-closed-notice_title span {
  color: #ff2600;
}
.yk-closed-notice_date {
  margin-top: 0.5rem;
  font-family: Obviouslydemo, Arial, sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.yk-closed-notice_text {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.yk-closed-notice[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .yk-closed-notice {
    padding: 1.5rem 1.25rem;
    margin: 0 0.5rem;
  }
}
/* ---------- Homepage intro overlap into hero video ---------- */
.homepage-intro-section {
  position: relative;
  z-index: 4;
  margin-top: -11rem;
}
@media (max-width: 991px) {
  .homepage-intro-section {
    margin-top: -8rem;
  }
}
@media (max-width: 767px) {
  .homepage-intro-section {
    margin-top: -5rem;
  }
}


/* ---------- Featured promo posters (below the promos grid) ---------- */
.yk-promo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin: 3rem auto 0;
  justify-items: center;
}
@media (max-width: 767px) {
  .yk-promo-features {
    grid-template-columns: 1fr;
    max-width: 28rem;
    gap: 1.5rem;
  }
}
.yk-promo-feature {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
@media (hover: hover) {
  .yk-promo-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -18px rgba(255, 38, 0, 0.45);
  }
}
.yk-promo-feature img,
.yk-promo-feature_img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Single-promo layout ---------- */
/* When only one promo card remains, center it and show the square graphic
   uncropped (cover-fit of a square image in a square box = exact fit).
   Adding a second card later restores the 2-up grid automatically. */
.promos-list {
  justify-items: center;
}
.promos-item:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 30rem;
}
.promos-item:only-child .promo-item-thumb {
  aspect-ratio: 1 / 1;
  min-height: 0;
}
