/* P/T - Poverty, experienced. Fine-dining satire. */

:root {
  --black: #0a0a0a;
  --near-black: #141414;
  --cream: #f4efe6;
  --cream-dim: #e8e0d4;
  --cream-muted: #c4b8a8;
  --gold: #c4a35a;
  --gold-dim: #9a7f3e;
  --gold-soft: rgba(196, 163, 90, 0.18);
  --text: var(--cream);
  --text-muted: var(--cream-muted);
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1100px;
  --narrow: 640px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cream);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.divider {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  background: transparent;
  color: inherit;
}

.btn-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Fraction logo: P over bar over T */
.fraction-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: var(--cream);
  line-height: 1;
  user-select: none;
}

.fraction-logo .frac-num,
.fraction-logo .frac-den {
  display: block;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.fraction-logo .frac-bar {
  width: 100%;
  border: none;
  border-top: 1.5px solid var(--cream);
  margin: 0.12em 0;
  background: none;
  height: 0;
}

.fraction-logo-sm {
  font-size: 0.95rem;
  min-width: 1.1em;
}

.fraction-logo-sm .frac-bar {
  border-top-width: 1px;
  margin: 0.08em 0;
}

.fraction-logo-hero {
  font-size: clamp(5rem, 12vw, 9rem);
  margin-bottom: 1.25rem;
  color: var(--cream);
  letter-spacing: 0.08em;
  filter:
    drop-shadow(0 0 18px rgba(196, 163, 90, 0.75))
    drop-shadow(0 0 42px rgba(196, 163, 90, 0.45))
    drop-shadow(0 6px 22px rgba(0, 0, 0, 0.85));
}

.fraction-logo-hero .frac-num,
.fraction-logo-hero .frac-den {
  color: var(--cream);
  text-shadow:
    0 0 12px rgba(244, 239, 230, 0.55),
    0 0 28px rgba(196, 163, 90, 0.85),
    0 0 56px rgba(196, 163, 90, 0.45),
    0 0 2px rgba(0, 0, 0, 1),
    0 3px 8px rgba(0, 0, 0, 0.95),
    -2px -2px 0 rgba(0, 0, 0, 0.75),
    2px 2px 0 rgba(0, 0, 0, 0.75),
    -2px 2px 0 rgba(0, 0, 0, 0.55),
    2px -2px 0 rgba(0, 0, 0, 0.55);
}

.fraction-logo-hero .frac-bar {
  border-top-width: 4px;
  margin: 0.1em 0;
  border-top-color: var(--gold);
  width: 1.2em;
  box-shadow:
    0 0 16px rgba(196, 163, 90, 0.9),
    0 0 36px rgba(196, 163, 90, 0.5),
    0 3px 8px rgba(0, 0, 0, 0.7);
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-left: 0.55rem;
}

.logo-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  margin-left: 0.55rem;
  color: var(--cream);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  color: inherit;
}

.logo:hover .logo-name {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-muted);
  font-weight: 300;
  position: relative;
  padding-bottom: 0.35rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  opacity: 0.95;
}

.nav a:hover {
  color: var(--gold);
}

.nav a.is-active {
  color: var(--gold);
}

.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 1.75rem;
  height: 1.25rem;
  position: relative;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--cream);
  position: absolute;
  left: 0;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:first-child { top: 0.35rem; }
.nav-toggle span:last-child { top: 0.85rem; }

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 0.6rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 0.6rem;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2.5rem;
  background: var(--black);
}

.hero-stage {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.05);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  will-change: transform;
  animation: heroMediaPulse 18s ease-in-out infinite alternate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: var(--black);
  transform: scale(1.08);
  transform-origin: center center;
}

.hero-slides-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
}

.hero-stage.is-fallback .hero-video {
  display: none;
}

.hero-stage.is-fallback .hero-slides-fallback {
  display: block;
}

.hero-stage.is-reduced .hero-video {
  display: none;
}

.hero-stage.is-reduced .hero-slides-fallback {
  display: block;
}

.hero-stage.is-reduced .hero-slide:not(.is-active) {
  display: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--black);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease-in-out;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroKenBurns 16s ease-out forwards;
}

.hero-slide:nth-child(1).is-active {
  animation-name: heroKenBurns;
}

.hero-slide:nth-child(2).is-active {
  animation-name: heroKenBurnsPanLeft;
}

.hero-slide:nth-child(3).is-active {
  animation-name: heroKenBurnsPanRight;
}

.hero-slide:nth-child(4).is-active {
  animation-name: heroKenBurnsUp;
}

@keyframes heroKenBurns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(0, 0); }
}

@keyframes heroKenBurnsPanLeft {
  from { transform: scale(1) translate(1.5%, 0); }
  to { transform: scale(1.08) translate(-1.5%, 0); }
}

@keyframes heroKenBurnsPanRight {
  from { transform: scale(1) translate(-1.5%, 0); }
  to { transform: scale(1.08) translate(1.5%, 0); }
}

@keyframes heroKenBurnsUp {
  from { transform: scale(1) translate(0, 1%); }
  to { transform: scale(1.08) translate(0, -1%); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.42) 40%, rgba(10, 10, 10, 0.62) 100%),
    radial-gradient(ellipse at 50% 42%, rgba(196, 163, 90, 0.14) 0%, transparent 58%);
  opacity: 0.95;
  pointer-events: none;
}

.hero-dust {
  position: absolute;
  inset: -10%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(244, 239, 230, 0.55), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(196, 163, 90, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 48% 18%, rgba(244, 239, 230, 0.4), transparent),
    radial-gradient(1px 1px at 62% 74%, rgba(196, 163, 90, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 78% 36%, rgba(244, 239, 230, 0.5), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(196, 163, 90, 0.4), transparent),
    radial-gradient(1px 1px at 18% 48%, rgba(244, 239, 230, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 36% 88%, rgba(196, 163, 90, 0.35), transparent),
    radial-gradient(1px 1px at 72% 12%, rgba(244, 239, 230, 0.4), transparent),
    radial-gradient(1px 1px at 8% 82%, rgba(196, 163, 90, 0.3), transparent);
  background-size: 100% 100%;
  mix-blend-mode: screen;
  animation: heroDustDrift 28s linear infinite;
  will-change: transform;
}

@keyframes heroMediaPulse {
  0% { transform: scale(1.05) translate3d(0, 0, 0); }
  50% { transform: scale(1.12) translate3d(-1.2%, 0.6%, 0); }
  100% { transform: scale(1.08) translate3d(1%, -0.8%, 0); }
}

@keyframes heroDustDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2.5%, 1.5%, 0); }
  100% { transform: translate3d(1.5%, -2%, 0); }
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0.5rem;
  pointer-events: auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero-spoken {
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow:
    0 0 22px rgba(196, 163, 90, 0.65),
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 0 2px rgba(0, 0, 0, 1);
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  margin-bottom: 2.5rem;
  max-width: 28rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero .btn-gold {
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 24px rgba(196, 163, 90, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-slides-fallback {
    display: block;
  }

  .hero-slide {
    transition: none;
    animation: none !important;
    transform: none !important;
  }

  .hero-slide.is-active {
    animation: none !important;
  }

  .hero-slide:not([style*="hero-1"]) {
    display: none;
  }

  .hero-slide[style*="hero-1"] {
    display: block;
    opacity: 1;
    z-index: 1;
  }

  .hero-media,
  .hero-dust,
  .hero-stage,
  .hero-video {
    animation: none !important;
    transform: none !important;
  }

  .hero-dust {
    opacity: 0.12;
  }

  .hero-stage {
    inset: 0;
  }
}

/* About */
.about {
  background: var(--near-black);
  border-top: 1px solid rgba(196, 163, 90, 0.12);
  border-bottom: 1px solid rgba(196, 163, 90, 0.12);
}

.about .lede {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: var(--cream-dim);
}

.about p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.about-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 163, 90, 0.2);
  font-size: 0.95rem;
}

.about-note strong {
  color: var(--gold);
  font-weight: 400;
}

/* Menu */
.menu-intro {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.menu-section-title {
  margin-bottom: 1.75rem;
}

.breakfast-extras {
  margin: -2rem 0 4rem;
  max-width: 40rem;
}

.breakfast-extras li {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.breakfast-extras li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}


.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.dish-card {
  background: var(--near-black);
  border: 1px solid rgba(196, 163, 90, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.dish-card:hover {
  border-color: rgba(196, 163, 90, 0.65);
  transform: translateY(-4px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(196, 163, 90, 0.35),
    0 0 24px rgba(196, 163, 90, 0.12);
}

.dish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #1a1a1a;
  transition: transform 0.45s ease;
  transform-origin: center center;
}

.dish-card:hover img {
  transform: scale(1.04);
}

.dish-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dish-card .dish {
  margin-bottom: 0.5rem;
}

.dish-card .dish-name {
  font-size: 1.05rem;
}

.dish-card .dish-desc {
  max-width: none;
  flex: 1;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 4rem;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
}

.menu-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dish {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.dish-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
}

.dish-price {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}

.dish-price::before {
  content: "$";
  font-size: 0.75em;
  margin-right: 0.1em;
  opacity: 0.7;
}

.dish-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 36rem;
}

.menu-footnote {
  margin-top: 3.5rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Experience */
.experience {
  background: var(--near-black);
  border-top: 1px solid rgba(196, 163, 90, 0.12);
  border-bottom: 1px solid rgba(196, 163, 90, 0.12);
}

.philosophy {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.5;
  color: var(--cream-dim);
  margin: 0 0 3rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--gold);
}

.exp-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.exp-card h3 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.exp-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.exp-address {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--cream-muted);
  line-height: 1.9;
  padding-top: 2rem;
  border-top: 1px solid rgba(196, 163, 90, 0.2);
}

/* Reservations */
.res-intro {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
}

.optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(196, 163, 90, 0.35);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-row select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 50%, calc(100% - 0.9rem) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold);
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(196, 163, 90, 0.45),
    0 0 18px rgba(196, 163, 90, 0.22);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(196, 184, 168, 0.45);
}

.form-row input[type="date"] {
  color-scheme: dark;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.form-row input.error,
.form-row select.error {
  border-color: #a05050;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid rgba(196, 163, 90, 0.15);
}

.footer-inner {
  display: grid;
  gap: 2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo-img {
  margin-left: 0;
  width: 40px;
  height: 40px;
}

.footer-brand .logo-name {
  margin-left: 0;
  letter-spacing: 0.25em;
}

.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-meta {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cream-muted);
  line-height: 1.9;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(196, 184, 168, 0.5);
  letter-spacing: 0.04em;
  max-width: 36rem;
  margin-inline: auto;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-panel {
  position: relative;
  background: var(--near-black);
  border: 1px solid rgba(196, 163, 90, 0.4);
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 28rem;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: scale(1);
}

.modal.is-closing .modal-panel {
  opacity: 0;
  transform: scale(0.96);
}

.modal.is-closing .modal-backdrop {
  opacity: 0;
}

.modal-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.modal-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream-dim);
  margin-bottom: 1.75rem;
}

.modal-code {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.modal-code span {
  font-family: var(--sans);
  letter-spacing: 0.15em;
}

.modal-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 800px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
    padding: 1rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(244, 239, 230, 0.05);
  }

  .nav a::after {
    left: 1.5rem;
    right: auto;
    width: 2rem;
    bottom: 0.65rem;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 801px) {
  .exp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .featured-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion: no hover lift/zoom, no reveal motion, instant modal */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .dish-card,
  .dish-card img,
  .nav a::after,
  .modal,
  .modal-backdrop,
  .modal-panel {
    transition: none !important;
  }

  .dish-card:hover {
    transform: none;
    box-shadow: none;
  }

  .dish-card:hover img {
    transform: none;
  }

  .modal.is-open .modal-panel,
  .modal.is-closing .modal-panel {
    transform: none;
  }
}


/* Hero parallax helpers (driven by JS inline transforms) */
.hero-stage.is-parallax {
  transition: none;
}

.hero.is-reduced-motion .hero-dust {
  animation: none;
  opacity: 0.12;
}

.hero.is-reduced-motion .hero-media,
.hero.is-reduced-motion .hero-video {
  animation: none !important;
  transform: none !important;
}


.footer-find {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-find a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-find a:hover,
.footer-find a:focus-visible {
  color: var(--cream);
  border-bottom-color: rgba(196, 163, 90, 0.55);
  outline: none;
}

.footer-find-sep {
  color: rgba(196, 184, 168, 0.35);
}
