/* ---------- tokens ---------- */
:root {
  --bg:        #F2EDE7;
  --ink:       #151209;
  --footer-bg: #151209;
  --footer-ink:#E5D2B4;
  --rule:      rgba(21, 18, 9, 0.18);
  --rule-light:rgba(229, 210, 180, 0.30);

  --font-serif: "Noto Serif", Georgia, serif;
  --font-sans:  "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* allow decoratives to bleed off the right and end abruptly */
  max-width: 100%;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0.005em; margin: 0; }

/* ---------- nav (inside hero frame) ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px clamp(28px, 4vw, 60px) 0;
  color: #fff;
}
.nav__logo {
  display: inline-block;
  color: inherit;
}
.nav__logo img {
  width: clamp(80px, 7vw, 110px);
  height: auto;
  display: block;
  /* recolor the beige logo asset to white */
  filter: brightness(0) invert(1);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  margin-top: 40px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  color: inherit;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  transform: scaleX(0.7);
  transform-origin: center;
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); opacity: 1; }
.nav__reserve { font-weight: 500; }

/* mobile toggle */
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  color: inherit;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero (full viewport, framed) ---------- */
.hero {
  background: var(--bg);
  padding: clamp(20px, 2.5vw, 40px);
}
.hero__frame {
  position: relative;
  aspect-ratio: 1920 / 1019;
  width: 100%;
  max-height: calc(100vh - 2 * clamp(20px, 2.5vw, 40px));
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(16px, 1.8vw, 28px);
}
.hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero__track {
  list-style: none;
  margin: 0; padding: 0;
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Hours overlay at the bottom of the hero frame */
.hero__hours {
  position: absolute;
  left: 50%;
  bottom: clamp(32px, 5vh, 56px);
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.02em;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  width: 92%;
  max-width: 820px;
  pointer-events: none;
}

/* Carousel controls (dots + next arrow), bottom-right */
.hero__controls {
  position: absolute;
  right: clamp(28px, 3.5vw, 60px);
  bottom: clamp(32px, 5vh, 56px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--footer-ink);
}
.hero__dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(229, 210, 180, 0.55);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.hero__dot:hover { background: rgba(229, 210, 180, 0.85); }
.hero__dot.is-active {
  background: var(--footer-ink);
  transform: scale(1.15);
}
.hero__next {
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.hero__next img { width: 22px; height: auto; }
.hero__next:hover { transform: translateX(4px); }

.hero-caption {
  background: var(--bg);
  text-align: center;
  padding: 72px var(--gutter) 24px;
}

/* hours: line-break behaviour for mobile vs desktop */
.br-mobile { display: none; }
.sep-desktop { display: inline; }

.hero-caption h1 {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: 0.005em;
  font-weight: 400;
}
.hero-caption p {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(21, 18, 9, 0.72);
}

/* ---------- decorative illustrations ---------- */
.decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.decor--sakura-about {
  top: -120px;
  left: clamp(-40px, -1vw, 0px);
  width: clamp(280px, 32vw, 480px);
  opacity: 1;
  z-index: 2;
}
.decor--fan-fav {
  top: -30px;
  right: clamp(20px, 3vw, 56px);
  width: clamp(180px, 18vw, 280px);
  opacity: 1;
  z-index: 2;
}
.decor--cranes-sets {
  top: 40px;
  right: clamp(40px, 5vw, 100px);
  width: clamp(220px, 22vw, 340px);
  opacity: 1;
}
.decor--sakura-space {
  top: -120px;
  right: clamp(-140px, -7vw, -60px);
  width: clamp(280px, 30vw, 460px);
  opacity: 1;
  z-index: 0;
}
.decor--cranes-space {
  bottom: 0;
  right: clamp(20px, 4vw, 80px);
  width: clamp(200px, 20vw, 320px);
  opacity: 1;
  z-index: 0;
}
.about, .space { position: relative; overflow-x: clip; overflow-y: visible; }
.sets, .favourites { position: relative; overflow-x: clip; overflow-y: visible; }
/* fallback for browsers without overflow: clip support */
@supports not (overflow: clip) {
  .about, .space, .sets, .favourites { overflow: hidden; }
}
.about__inner, .sets .section-head, .sets .card-grid, .space__inner { position: relative; z-index: 1; }

/* ---------- about ---------- */
.about { padding: 80px var(--gutter) 100px; }
.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
}
.about__media {
  /* only the top-right corner is rounded — matches the design's organic crop */
  border-radius: 0 clamp(40px, 5vw, 80px) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__copy { padding-left: 0; }
.about__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: 0.005em;
}
.about__copy .subhead {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 14px;
  font-weight: 400;
}
.about__copy .about__body {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(21, 18, 9, 0.72);
  margin: 0;
  max-width: 64ch;
}

/* ---------- section heads ---------- */
.section-head {
  max-width: var(--container);
  margin: 0 auto 48px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
}
.section-head--inline {
  justify-content: flex-start;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.btn-pill {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 4px 2px;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-pill::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.6);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.btn-pill:hover::after { transform: scaleX(1); }
.section-head h2 {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.2;
  font-weight: 400;
}
.section-head--center h2 { letter-spacing: 0.005em; }
.sets__subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(21, 18, 9, 0.72);
  /* width sized so it always wraps to exactly 2 lines */
  max-width: 78ch;
  text-wrap: balance;
}
.link-arrow {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-arrow:hover { color: rgba(21, 18, 9, 0.65); border-color: rgba(21, 18, 9, 0.5); }

/* ---------- card grids ---------- */
.favourites { padding: 80px 0 100px; position: relative; }
.favourites .section-head, .favourites .card-grid { position: relative; z-index: 1; }
.sets { padding: 80px 0 120px; }

.card-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 36px);
}
.card-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-grid img {
  width: 100%;
  aspect-ratio: 76 / 87;
  object-fit: cover;
  background: rgba(21, 18, 9, 0.05);
  border-radius: 0 clamp(28px, 3vw, 56px) 0 0;
}
.card-grid figcaption {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-align: center;
}

.sets .card-grid img { aspect-ratio: 76 / 87; }

/* ---------- space / private dining ---------- */
.space { padding: 60px var(--gutter) 120px; }
.space__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.space__gallery { display: flex; flex-direction: column; gap: 16px; }
.space__main {
  position: relative;
  border-radius: 0 clamp(40px, 5vw, 80px) 0 0;
  overflow: hidden;
}
.space__main img {
  width: 100%;
  /* match the natural aspect of the source so the baked label isn't cropped */
  aspect-ratio: 919 / 559;
  object-fit: cover;
  display: block;
}
.space__next {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.2s ease;
  opacity: 0.9;
}
.space__next img {
  width: 26px;
  height: auto;
  /* recolor beige asset to white so it reads on the photo */
  filter: brightness(0) invert(1);
  display: block;
}
.space__next:hover { transform: translateY(-50%) translateX(4px); opacity: 1; }

.space__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 320px;
}
.space__thumb {
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: block;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}
.space__thumb img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}
.space__thumb.is-active { opacity: 1; }
.space__thumb.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
}
.space__thumb:hover { opacity: 0.9; }

.space__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: 0.005em;
}
.space__copy p {
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(21, 18, 9, 0.72);
  margin: 0 0 36px;
  max-width: 46ch;
}
.space__capacity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 36px;
  padding: 0;
  border: 0;
}
.space__capacity > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.space__capacity .cap-icon {
  width: 26px;
  height: auto;
  flex: 0 0 auto;
}
.space__capacity > div > div { display: flex; flex-direction: column; gap: 2px; }
.space__capacity dt {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.space__capacity dd {
  margin: 0;
  font-size: 12.5px;
  color: rgba(21, 18, 9, 0.72);
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.25s ease, color 0.2s ease;
}
.btn-arrow:hover { gap: 22px; color: rgba(21, 18, 9, 0.72); }

/* ---------- footer ---------- */
.footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-top: 80px;
  overflow: hidden;
}
.footer__bg {
  position: absolute;
  inset: 0;
  background-color: var(--footer-bg);
  background-image: url("assets/storefront.jpg");
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.footer__top, .footer__bar { position: relative; z-index: 1; }
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.footer__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
  color: var(--footer-ink);
}
.footer__info { padding-left: clamp(20px, 4vw, 80px); }
.footer__info p {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(229, 210, 180, 0.82);
}
.footer__info strong { color: var(--footer-ink); font-weight: 500; }
.footer__info a { color: inherit; border-bottom: 1px solid rgba(229, 210, 180, 0.35); }
.footer__info a:hover { border-color: var(--footer-ink); }
.footer__map {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: clamp(12px, 1.4vw, 22px);
  background: rgba(229, 210, 180, 0.06);
}
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer__bar {
  margin-top: 64px;
  padding: 28px 0;
  /* solid dark background so the storefront image stays only in the top half */
  background: var(--footer-bg);
}
.footer__bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer__logo {
  display: inline-block;
  color: inherit;
}
.footer__logo img {
  /* logo asset is beige (#E5D2B4) — leaves it native colour against dark footer */
  width: 60px;
  height: auto;
  display: block;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  justify-self: center;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer__social a img { width: 100%; height: 100%; display: block; }
.footer__social a:hover { transform: translateY(-2px); opacity: 0.85; }
.footer__copy {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(229, 210, 180, 0.7);
  justify-self: end;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(21, 18, 9, 0.96);
    padding: 0 var(--gutter);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav.is-open .nav__links { padding: 12px var(--gutter) 22px; }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(229, 210, 180, 0.12);
    width: 100%;
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { max-height: 500px; }
  .nav.is-open { background: rgba(21, 18, 9, 0.96); }

  .hero__hours { font-size: 12px; bottom: 110px; }

  .about__inner,
  .space__inner,
  .footer__top {
    grid-template-columns: 1fr;
  }
  .about__copy { padding-left: 0; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }

  .footer__bar {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .footer__social { justify-self: center; }
  .footer__copy   { justify-self: center; }
  .footer__logo   { justify-self: center; border-left: 0; padding-left: 0; }
}

@media (max-width: 720px) {
  /* on mobile, abandon the landscape aspect-ratio so the hero is tall enough */
  .hero__frame {
    aspect-ratio: auto;
    height: 70vh;
    min-height: 480px;
    max-height: none;
  }
  .nav { padding-top: 20px; padding-left: 18px; padding-right: 18px; }
  .nav__logo img { width: 64px; }
  .hero__hours {
    font-size: 11px;
    line-height: 1.6;
    max-width: 92%;
    bottom: 64px;
  }
  .hero__controls { right: 18px; bottom: 24px; }
  .hero-caption { padding: 48px 24px 24px; }
}

@media (max-width: 720px) {
  /* food card rows become swipeable horizontal carousels on mobile */
  .favourites .card-grid,
  .sets .card-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 0 var(--gutter);
    max-width: 100%;
    margin: 0;
    scrollbar-width: none;
  }
  .favourites .card-grid::-webkit-scrollbar,
  .sets .card-grid::-webkit-scrollbar { display: none; }
  .favourites .card-grid > li,
  .sets .card-grid > li {
    scroll-snap-align: start;
    flex: 0 0 78%;
    min-width: 78%;
  }
  .card-grid figcaption { font-size: 14px; }
}

@media (max-width: 520px) {
  .space__capacity { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__top { grid-template-columns: 1fr; }
  .space__thumbs { max-width: 280px; }
}

/* ---------- motion ---------- */
:root {
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* hero load choreography — elements start hidden and fade/rise in once .is-ready is set */
.hero .nav,
.hero__hours,
.hero__controls {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart);
}
.hero__hours,
.hero__controls {
  transform: translateY(10px);
}
.hero.is-ready .nav        { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.hero.is-ready .hero__hours    { opacity: 1; transform: translateX(-50%) translateY(0); transition-delay: 0.55s; }
.hero.is-ready .hero__controls { opacity: 1; transform: translateY(0); transition-delay: 0.70s; }

/* keep the centered translate during entrance */
.hero__hours { transform: translateX(-50%) translateY(10px); }

/* Ken Burns — slow zoom on the active hero slide */
.hero__slide.is-active {
  animation: kenburns 14s var(--ease-out-quart) forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* hero caption entrance */
.hero-caption h1,
.hero-caption p {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease-out-quart), transform 0.9s var(--ease-out-quart);
}
.hero-caption.is-in h1 { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.hero-caption.is-in p  { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }

/* generic scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out-quart), transform 0.9s var(--ease-out-quart);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* staggered children inside a reveal grid */
.card-grid > li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart);
}
.reveal.is-in .card-grid > li,
.card-grid.is-in > li { opacity: 1; transform: translateY(0); }
.card-grid > li:nth-child(1) { transition-delay: 0.05s; }
.card-grid > li:nth-child(2) { transition-delay: 0.15s; }
.card-grid > li:nth-child(3) { transition-delay: 0.25s; }
.card-grid > li:nth-child(4) { transition-delay: 0.35s; }

/* card hover — gentle image zoom + caption shift */
.card-grid figure {
  overflow: visible;
}
.card-grid figure img {
  transition: transform 0.7s var(--ease-out-quart), filter 0.5s var(--ease-out-quart);
  transform-origin: center;
}
.card-grid figcaption {
  transition: transform 0.4s var(--ease-out-quart), letter-spacing 0.4s var(--ease-out-quart);
}
.card-grid li {
  cursor: default;
}
.card-grid figure:hover img {
  transform: scale(1.04);
  filter: brightness(1.03);
}
.card-grid figure:hover figcaption {
  letter-spacing: 0.05em;
}

/* image clip — crop the scaled image to the original rounded frame */
.card-grid figure {
  position: relative;
}
.card-grid figure > * { position: relative; }
.card-grid figure img {
  /* re-clip via overflow on a wrapper */
}

/* wrap images in an overflow:hidden ::before-style frame using the existing structure */
.card-grid li figure {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-grid li figure::before { content: none; }
.card-grid li figure {
  /* clip the zoom inside the image's rounded shape */
}
.card-grid figure img {
  border-radius: 0 clamp(28px, 3vw, 56px) 0 0;
}
.card-grid li {
  overflow: hidden;
  border-radius: 0 clamp(28px, 3vw, 56px) 0 0;
}
.card-grid li figcaption {
  padding-bottom: 4px;
}

/* about & space media — subtle hover zoom */
.about__media,
.space__main {
  overflow: hidden;
}
.about__media img,
.space__main img {
  transition: transform 0.9s var(--ease-out-quart);
}
.about__media:hover img,
.space__main:hover img {
  transform: scale(1.03);
}

/* nav links — refined underline that draws from left */
.nav__links a::after {
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out-quart), opacity 0.3s ease;
  transform-origin: left center;
}
.nav__links a:hover::after { transform: scaleX(1); }

/* reservation pill — gentle pulse on hover */
.nav__reserve {
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out-quart);
}
.nav__reserve:hover {
  transform: translateY(-1px);
}

/* btn-pill — animated underline (already underlined) + tiny lift */
.btn-pill {
  transition: transform 0.35s var(--ease-out-quart);
}
.btn-pill:hover { transform: translateY(-1px); }

/* hero arrow — pull-and-spring on click */
.hero__next {
  transition: transform 0.4s var(--ease-out-quart);
}
.hero__next:active { transform: translateX(10px); }

/* hero dots — active grows + faint glow */
.hero__dot {
  transition: background-color 0.3s ease, transform 0.4s var(--ease-out-quart), box-shadow 0.4s ease;
}
.hero__dot.is-active {
  box-shadow: 0 0 0 4px rgba(229, 210, 180, 0.18);
}

/* space thumb — subtle scale on active */
.space__thumb img {
  transition: transform 0.5s var(--ease-out-quart);
}
.space__thumb:hover img { transform: scale(1.03); }

/* space main image cross-fade on swap */
.space__main img {
  transition: opacity 0.45s ease, transform 0.9s var(--ease-out-quart);
}
.space__main.is-swapping img {
  opacity: 0;
}

/* decor — subtle ambient motion on decorative patterns */
@keyframes sakura-sway-left {
  0%, 100% { transform: rotate(-0.8deg) translateY(0); }
  50%      { transform: rotate(0.8deg)  translateY(-2px); }
}
@keyframes sakura-sway-right {
  0%, 100% { transform: rotate(0.7deg)  translateY(0); }
  50%      { transform: rotate(-0.7deg) translateY(-2px); }
}
@keyframes cranes-drift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(4px, -2px); }
  75%      { transform: translate(-3px, 1px); }
}
@keyframes cranes-step {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-5px, 0); }
}
@keyframes fan-sway {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(1.4deg); }
  75%      { transform: rotate(-1.2deg); }
}

.decor--sakura-about {
  animation: sakura-sway-left 9s ease-in-out infinite;
  transform-origin: 12% 0%;        /* swings from upper-left where branch attaches */
}
.decor--sakura-space {
  animation: sakura-sway-right 10s ease-in-out infinite;
  transform-origin: 100% 0%;       /* anchor where branch comes in from the right */
}
.decor--cranes-sets {
  animation: cranes-drift 7s ease-in-out infinite;
}
.decor--cranes-space {
  animation: cranes-step 6.5s ease-in-out infinite;
  transform-origin: 50% 100%;      /* sway around the feet */
}
.decor--fan-fav {
  animation: fan-sway 6s ease-in-out infinite;
  transform-origin: 70% 15%;       /* sways from the top of the fan where string attaches */
}

/* footer social — refined hover */
.footer__social a {
  transition: transform 0.4s var(--ease-out-quart), opacity 0.25s ease;
}
.footer__social a:hover {
  transform: translateY(-3px);
}

/* footer info links — animated underline */
.footer__info a {
  position: relative;
  transition: color 0.25s ease;
}

/* nav toggle bars — refined timing */
.nav__toggle span {
  transition: transform 0.45s var(--ease-out-quart), opacity 0.3s ease;
}

/* ---------- sticky click-to-call button ---------- */
.floating-call {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--ink);
  color: var(--footer-ink);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(21, 18, 9, 0.22);
  transition: transform 0.25s var(--ease-out-quart), box-shadow 0.25s ease, opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}
.floating-call.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.floating-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(21, 18, 9, 0.3);
}
.floating-call__icon { flex: 0 0 auto; display: inline-flex; }
.floating-call__num { white-space: nowrap; }
@media (max-width: 520px) {
  .floating-call { padding: 14px; }
  .floating-call__num { display: none; }
}

/* ---------- mobile layout polish ---------- */
@media (max-width: 720px) {
  /* hours: break the line on mobile, drop the inline " | " separator */
  .sep-desktop { display: none; }
  .br-mobile   { display: inline; }

  /* sakura on About: behind the text, raised so more of the pattern shows */
  .decor--sakura-about {
    top: -90px;
    width: clamp(260px, 64vw, 380px);
    z-index: 0;
  }
  .about__inner { z-index: 2; }

  /* cranes on Comforting Set Meals: nudge down so the heads/wings aren't clipped */
  .decor--cranes-sets {
    top: 12px;
    right: -10px;
    width: clamp(160px, 42vw, 240px);
  }

  /* center-align headlines + body on mobile for About / Favourites / Sets / Space */
  .about__copy { text-align: center; }
  .about__copy .about__body { margin: 0 auto; }
  .favourites .section-head, .sets .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .space__copy { text-align: center; }
  .space__copy p { margin-left: auto; margin-right: auto; }
  .space__capacity {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
  .space__capacity > div { justify-content: center; }
  .space__copy .btn-pill { display: inline-block; }
  .space__thumbs { margin-left: auto; margin-right: auto; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .hero .nav,
  .hero__hours,
  .hero__controls,
  .hero-caption h1,
  .hero-caption p,
  .reveal,
  .card-grid > li {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__hours { transform: translateX(-50%) !important; }
}
