/* Small improvements to the existing cream, charcoal and gold design. */
:root { --text-muted: #a8a8a8; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #E2C97E !important; outline-offset: 5px; }
section[id] { scroll-margin-top: 110px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20000; padding: 1rem; background: #C9A84C; color: #0D0D0D; }
.skip-link:focus { top: 1rem; }
.hamburger { background: none; border: 0; align-items: center; justify-content: center; }
button, .hamburger, .social-link { min-width: 44px; min-height: 44px; }
.mobile-menu { overflow-y: auto; padding: 2rem 1rem; }
.mobile-menu a, .nav-links a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.mobile-menu.open { visibility: visible; }
.business-address { font-style: normal; font-size: .8rem; line-height: 1.8; flex-basis: 100%; }
.business-address a, .directions-link, .gallery-status a { color: #E2C97E; }
.business-hours { line-height: 1.8; margin-bottom: 1.5rem; }
.business-hours h3 { font-family: 'Cormorant Garamond', serif; color: #E2C97E; font-size: 1.5rem; }
.location-map { display: block; max-width: 100%; border: 0; margin: 2rem auto; border-radius: 4px; }
.footer-copy, .footer-links a, body #chat-header p, body #chat-close, body .msg.typing { color: #a8a8a8; }
#chat-input::placeholder, #inline-chat-input::placeholder { color: #a8a8a8; }
.hero-sub { color: #d8d2c8; }
.hero-content { padding-inline: 1rem; animation: none; }
.hero { min-height: 620px; height: 100svh; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-video.is-playing { opacity: 1; animation: hero-zoom 23s linear forwards; }
.hero-video-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.55) 60%, rgba(0,0,0,.9)); }
.hero-video.is-playing + .hero-video-shade { opacity: 1; }
.hero-motion-stop { position: absolute; z-index: 3; bottom: 1.5rem; left: 1.5rem; border: 1px solid #C9A84C; background: #141414; color: #F5F0E8; padding: .6rem 1rem; font: .7rem Montserrat,sans-serif; cursor: pointer; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.035); } }
.banquet-packages { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.hh-card, .banquet-card, .menu-item-info, .wine-name, .scotch-info { min-width: 0; }
.wine-row { flex-wrap: wrap; }
.gallery-status { max-width: 700px; padding: 2rem 1.5rem 0; margin: auto; line-height: 1.8; text-align: center; color: #a8a8a8; }
.gallery-item:not(:has(img)) { cursor: default; }
body #chat-window { max-width: calc(100vw - 32px); max-height: calc(100dvh - 160px); }
#chat-input, #inline-chat-input { min-width: 0; }
.mobile-actions { display: none; }
@media (max-width: 1100px) {
  nav { padding-inline: 1.5rem; }
  .nav-links, .nav-reserve { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hero-bg, .gallery-hero { background-image: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.97)), url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&w=800&q=75'); }
  .hero { min-height: 620px; }
  .hero-content { padding-top: 80px; padding-bottom: 48px; }
  .hero-sub { line-height: 1.8; letter-spacing: .12em; }
  .mobile-menu { gap: 1rem; }
  .mobile-menu a { font-size: 1.15rem; }
  .mobile-actions { display: flex; position: fixed; inset: auto 0 0; z-index: 150; background: #141414; border-top: 1px solid #C9A84C; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-actions a { flex: 1; text-align: center; padding: 1.15rem .5rem; color: #E2C97E; text-decoration: none; font: 500 .8rem Montserrat,sans-serif; letter-spacing: .12em; }
  .mobile-actions a + a { border-left: 1px solid rgba(201,168,76,.3); }
  body #chat-bubble { bottom: calc(80px + env(safe-area-inset-bottom)); right: 16px; }
  body #chat-window { width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 235px); }
  #chat-input, #inline-chat-input { font-size: 16px !important; }
  .menu-tab { font-size: .7rem; }
}
@media (max-height: 650px) { .mobile-menu { justify-content: flex-start; padding-top: 4rem; gap: .35rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Fall hanging leaves (active until Oct 30) ── */
.fall-hanging {
  position: fixed;
  top: 0;
  z-index: 120;
  width: min(168px, 24vw);
  height: min(320px, 48vh);
  pointer-events: none;
  user-select: none;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.fall-hanging--left { left: 0; }
.fall-hanging--right { right: 0; transform: scaleX(-1); }
.fall-vine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.fall-stem {
  fill: none;
  stroke: #8a5a2b;
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.9;
}
.fall-leaf {
  position: absolute;
  left: var(--fall-x);
  top: var(--fall-y);
  width: 34%;
  transform: rotate(var(--fall-base, 0deg)) scale(var(--fall-scale, 1));
  transform-origin: 50% 0;
}
.fall-leaf-sway {
  display: block;
  transform-origin: 50% 0;
  animation: fall-sway var(--fall-dur, 3.8s) ease-in-out infinite alternate;
  animation-delay: var(--fall-delay, 0s);
  will-change: transform;
}
.fall-leaf svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes fall-sway {
  from { transform: rotate(-16deg); }
  to { transform: rotate(18deg); }
}
@media (max-width: 768px) {
  .fall-hanging {
    width: min(104px, 28vw);
    height: min(210px, 34vh);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fall-leaf-sway { animation: none !important; }
}

/* ── Fall leaf shower (5s page-load burst, then removed) ── */
.fall-shower {
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.fall-shower-leaf {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.fall-shower-leaf svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: reduce) {
  .fall-shower { display: none !important; }
}

/* ── Coming-soon menu toast (landing page, 5s then fade) ── */
.menu-toast {
  position: fixed;
  top: max(6.75rem, env(safe-area-inset-top, 0px) + 5.5rem);
  right: max(1.5rem, env(safe-area-inset-right, 0px) + 1rem);
  left: auto;
  /* Below nav (100) and mobile menu (200); above page content */
  z-index: 90;
  width: min(340px, calc(100vw - 2rem));
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.menu-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.menu-toast.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.menu-toast-inner {
  position: relative;
  padding: 1.15rem 1.4rem 1.25rem;
  background:
    linear-gradient(145deg, rgba(28, 28, 28, 0.97) 0%, rgba(13, 13, 13, 0.98) 100%);
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(226, 201, 126, 0.08) inset;
  text-align: center;
  overflow: hidden;
}
.menu-toast-inner::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C9A84C, #E2C97E, #C9A84C, transparent);
}
.menu-toast-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(226, 201, 126, 0.08) 48%,
    transparent 62%
  );
  background-size: 220% 100%;
  animation: menu-toast-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
.menu-toast-eyebrow {
  display: block;
  position: relative;
  z-index: 1;
  margin-bottom: 0.45rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C9A84C;
}
.menu-toast-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #F5F0E8;
  line-height: 1.2;
}
.menu-toast-body {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: #a8a8a8;
}
@keyframes menu-toast-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -40% 0; }
}
/* Phones: compact bar above the sticky Reserve/Call bar — clear of logo, leaves, brand */
@media (max-width: 768px) {
  .menu-toast {
    top: auto;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 0.7rem);
    left: 0.75rem;
    /* leave room for the chat bubble on the right */
    right: 5.25rem;
    width: auto;
    max-width: none;
    z-index: 140;
    transform: translateY(10px);
  }
  .menu-toast.is-visible { transform: translateY(0); }
  .menu-toast.is-leaving { transform: translateY(8px); }
  .menu-toast-inner {
    padding: 0.7rem 0.9rem 0.75rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  }
  .menu-toast-eyebrow {
    margin-bottom: 0.2rem;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }
  .menu-toast-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.25;
  }
  /* Body copy is too tall on small screens; keep it for screen readers */
  .menu-toast-body {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
@media (max-width: 380px) {
  .menu-toast {
    left: 0.6rem;
    right: 5.1rem;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px) + 0.55rem);
  }
  .menu-toast-title { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toast,
  .menu-toast.is-leaving {
    transition: none;
    transform: none;
  }
  .menu-toast.is-visible { transform: none; }
  .menu-toast-inner::after { animation: none !important; }
}
