:root {
  --gold: #c9a227;
  --gold-soft: #e4c76b;
  --wine: #6b1d2a;
  --ink: #0b0b0b;
  --paper: #fafaf8;
  --radius: 1.15rem;
  --radius-sm: 0.75rem;
  --radius-btn: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

.font-sans {
  font-family: Outfit, system-ui, sans-serif;
}

.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-rule-left {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.site-logo {
  filter: brightness(0) invert(1);
}

.site-header {
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.72), rgba(11, 11, 11, 0));
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.94);
  border-bottom-color: rgba(201, 162, 39, 0.28);
  backdrop-filter: blur(16px);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.35) 40%, rgba(11, 11, 11, 0.82) 100%);
}

.hero-kenburns {
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.dish-card,
.menu-list-card,
.gallery-item,
.team-card,
.soft-card,
.dish-modal-panel {
  border-radius: var(--radius);
  overflow: hidden;
}

.site-header .site-btn,
header a.site-btn {
  border-radius: var(--radius-btn);
}

.dish-card img,
.gallery-item img {
  transition: transform 0.7s ease;
}

.dish-thumb {
  border-radius: 0.55rem;
}

.menu-tab,
.site-btn {
  border-radius: var(--radius-btn);
}

.form-input,
.toast {
  border-radius: var(--radius-sm);
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.dish-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(11, 11, 11, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.dish-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dish-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100svh - 2.5rem);
  overflow: auto;
  background: var(--paper);
}

.dish-thumb {
  height: 4.25rem;
  width: 100%;
  object-fit: cover;
  opacity: 0.55;
  cursor: pointer;
  border-radius: 0.55rem;
}

.dish-thumb.is-active {
  opacity: 1;
  outline: 1px solid var(--gold);
}

.menu-list-card {
  border: 1px solid var(--gold);
  box-shadow: 0 8px 24px rgba(11, 11, 11, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.12);
}

.dish-card:hover img,
.gallery-item:hover img {
  transform: scale(1.06);
}

.menu-tab.is-active {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}

.lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.form-error {
  border-color: #b42318 !important;
}

.toast {
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.team-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-track::-webkit-scrollbar {
  display: none;
}

.team-card {
  min-height: 14rem;
  border: 2px solid var(--gold);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-typewrite],
[data-typewrite-scroll] {
  min-height: 1.2em;
}

.typewrite-caret::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 0.82em;
  margin-left: 0.12em;
  background: var(--gold);
  animation: caret-blink 0.75s step-end infinite;
  vertical-align: -0.06em;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-kenburns,
  .dish-card img,
  .gallery-item img,
  [data-reveal] {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .typewrite-caret::after {
    display: none;
  }
}
