:root {
  --avila-order: #b94d3b;
  --avila-order-dark: #923627;
  --avila-ink: #063d4e;
  --avila-cream: #fbf7ee;
}

.nav .nav-order {
  border: 1px solid var(--avila-ink);
  border-radius: 999px;
  padding: .7rem 1rem;
  background: var(--avila-ink);
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.nav .nav-order:hover,
.nav .nav-order:focus-visible { background: #0c5869; color: #fff; }

.hero-order { background: var(--avila-order) !important; border-color: var(--avila-order) !important; color: #fff !important; }
.hero-order:hover,
.hero-order:focus-visible { background: var(--avila-order-dark) !important; }

.open-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .8rem 0 0;
  color: var(--avila-ink);
  font-size: .92rem;
}
.open-status::before {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: #b94d3b;
  content: "";
  box-shadow: 0 0 0 4px rgba(185,77,59,.12);
}
.open-status[data-open="true"]::before { background: #2d7359; box-shadow: 0 0 0 4px rgba(45,115,89,.13); }

.mobile-actions {
  position: fixed;
  z-index: 95;
  left: .65rem;
  right: .65rem;
  bottom: max(.65rem, env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(6,61,78,.18);
  border-radius: 1rem;
  background: rgba(255,252,245,.96);
  box-shadow: 0 12px 40px rgba(3,34,43,.22);
  backdrop-filter: blur(14px);
}
.mobile-actions a {
  min-height: 3.25rem;
  display: grid;
  place-items: center;
  padding: .4rem .15rem;
  color: var(--avila-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid rgba(6,61,78,.12);
}
.mobile-actions a:last-child { border-right: 0; background: var(--avila-order); color: #fff; }

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.85rem, 3vw, 1.5rem);
  min-height: 44px;
  padding: 0 1rem;
  background: var(--avila-ink);
  color: var(--avila-cream);
  font-size: .78rem;
}
.header-social .footer-social-label { flex-basis: auto; font-size: inherit; }
.header-social a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.header-social svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-social a:hover span { text-decoration: underline; text-underline-offset: .25em; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem 1.5rem;
  flex-basis: 100%;
  padding: .5rem 0 1.25rem;
  margin-bottom: .25rem;
  border-bottom: 1px solid rgba(6,61,78,.15);
  color: var(--avila-ink);
}
.footer-social-label { font-size: 1rem; }
.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .35rem .25rem;
  font-size: .9rem;
  text-decoration: none;
}
.footer-social svg { flex: 0 0 22px; }
.footer-social a:hover,
.footer-social a:focus-visible { color: var(--avila-order-dark); }
.footer-social a:hover span { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 480px) {
  .footer-social-label { flex-basis: 100%; text-align: center; }
}

.site-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.15rem;
  width: 100%;
  font-size: .78rem;
}
.site-legal a { color: inherit; text-underline-offset: .25em; }
.site-legal span {
  flex-basis: 100%;
  margin-top: .35rem;
  text-align: center;
}

.dish-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 0; }
.dish-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .22rem .52rem;
  border: 1px solid rgba(185,77,59,.35);
  border-radius: 999px;
  color: #8f392c;
  background: #fff8f0;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.menu-dietary-note {
  margin: 1.25rem auto;
  max-width: 72rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--avila-order);
  background: rgba(255,255,255,.54);
  color: #5d544d;
  font-size: .88rem;
}

.location-actions .order-location { background: var(--avila-order); border-color: var(--avila-order); color: #fff; }

.photo-description { max-width: 55ch; margin: .25rem 0 .8rem; line-height: 1.55; }


/* Tighter lower-page rhythm without removing the approved sections. */
.home .hospitality-story,
.home .visit-strip { margin-top: clamp(2.5rem, 5vw, 5rem); }

@media (max-width: 760px) {
  body { padding-bottom: calc(4.55rem + env(safe-area-inset-bottom)); }
  .mobile-actions { display: grid; }
  .nav .nav-order { display: none; }
  .back-to-top { bottom: calc(5.35rem + env(safe-area-inset-bottom)) !important; }
  .footer { padding-bottom: 1.5rem; }
  .coastal-menu-pills {
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  .coastal-menu-pills a { scroll-snap-align: start; }
  .dish-badge { font-size: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-actions,
  .nav .nav-order,
  .hero-order { transition: none !important; }
}


@media print {
  .mobile-actions,
  .nav .nav-order,
  .hero-order,
  .open-status,
  .site-legal,
  .a11y-launcher,
  .a11y-dialog,
  .a11y-reading-guide { display: none !important; }
  .anniversary-dialog { display: none !important; }
}

.legal-main {
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}
.legal-main .eyebrow { color: var(--avila-order); }
.legal-main h1 { margin: .3rem 0 1rem; color: var(--avila-ink); font-size: clamp(2.8rem, 8vw, 5.5rem); }
.legal-main h2 { margin: 2.2rem 0 .65rem; color: var(--avila-ink); font-size: clamp(1.5rem, 4vw, 2.15rem); }
.legal-main p,
.legal-main li { max-width: 70ch; line-height: 1.7; }
.legal-main a { color: var(--avila-ink); text-underline-offset: .2em; }
.legal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ===== 60th anniversary · "Archival Poster" modal ===== */
html.anniversary-open { overflow: hidden; }
.anniversary-dialog {
  --ann-navy: #071f2c; --ann-gold: #e9bf58; --ann-cream: #fbf7ee;
  width: min(94vw, 960px); max-width: none; max-height: calc(100dvh - 2rem);
  padding: 0; overflow: hidden; border: 0; border-radius: 4px;
  background: var(--ann-navy); color: var(--ann-cream);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.anniversary-dialog::backdrop { background: rgba(3, 18, 26, .78); }
.anniversary-card { position: relative; display: grid; min-height: min(620px, calc(100dvh - 2rem)); isolation: isolate; overflow: hidden; }
.anniversary-art { position: absolute; inset: 0 auto 0 0; z-index: -2; width: 64%; margin: 0; overflow: hidden; }
.anniversary-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 12%; transform-origin: 58% 18%; animation: ann-drift 2.8s cubic-bezier(.2,.7,.2,1) both; }
.anniversary-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,31,44,.08) 0%, rgba(7,31,44,.22) 34%, rgba(7,31,44,.82) 56%, var(--ann-navy) 66%),
    linear-gradient(180deg, rgba(7,31,44,0) 55%, rgba(7,31,44,.7) 100%);
  animation: ann-fade 1.2s ease-out .15s both; }
.anniversary-rule { position: absolute; z-index: 2; top: 1.25rem; left: 1.5rem; right: 5rem; display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(233,191,88,.7); color: var(--ann-cream); font: 700 .72rem/1.3 var(--sans, system-ui, sans-serif); letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); animation: ann-rise .7s ease-out .35s both; }
.anniversary-message { position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; width: 46%; margin-left: auto; padding: 5rem clamp(1.5rem, 4vw, 3.25rem) 2.5rem 0; }
.anniversary-logo { display: block; width: 160px; max-width: 100%; height: auto; aspect-ratio: 1426 / 1103; object-fit: contain; margin-bottom: 1.25rem; filter: brightness(0) invert(1); animation: ann-rise .7s ease-out .4s both; }
.anniversary-mark { position: relative; display: flex; align-items: flex-end; gap: .5rem; color: var(--ann-gold); animation: ann-pop .9s cubic-bezier(.3,1.5,.5,1) .6s both; }
.anniversary-mark span { font-family: var(--serif, Georgia, serif); font-size: clamp(5.5rem, 11vw, 8.5rem); line-height: .8; letter-spacing: -.06em; animation: ann-glow 1.6s ease-out .8s both; }
.anniversary-mark small { margin-bottom: .55rem; font: 700 .78rem/1 var(--sans, system-ui, sans-serif); letter-spacing: .24em; }
.anniversary-fx { position: absolute; left: 50%; top: 50%; width: 1px; height: 1px; pointer-events: none; z-index: -1; }
.anniversary-ring, .anniversary-burst { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; opacity: 0; }
.anniversary-ring { border: 2px solid var(--ann-gold); animation: ann-ring 1.5s ease-out .75s both; }
.anniversary-ring + .anniversary-ring { animation-delay: 1s; }
.anniversary-burst { background: repeating-conic-gradient(rgba(233,191,88,.55) 0 4deg, transparent 4deg 18deg); -webkit-mask: radial-gradient(circle, transparent 28%, #000 30%, transparent 70%); mask: radial-gradient(circle, transparent 28%, #000 30%, transparent 70%); animation: ann-burst 1.1s ease-out .7s both; }
.anniversary-dialog h2 { margin: 1.1rem 0 .8rem; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; animation: ann-rise .7s ease-out .9s both; }
.anniversary-dialog #anniversary-copy { max-width: 36ch; margin: 0; color: #f1ebe1; font-size: 1.02rem; line-height: 1.6; animation: ann-rise .7s ease-out 1.05s both; }
.anniversary-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.6rem; animation: ann-rise .7s ease-out 1.2s both; }
.anniversary-action { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .8rem 1.25rem; background: var(--ann-gold); color: var(--ann-navy); font: 700 .78rem/1 var(--sans, system-ui, sans-serif); letter-spacing: .12em; text-decoration: none; animation: ann-pulse .9s ease-out 1.9s both; }
.anniversary-action span { display: inline-block; animation: ann-nudge .8s ease-in-out 2s both; }
.anniversary-action:hover { background: var(--ann-cream); }
.anniversary-continue { min-height: 44px; padding: .5rem .25rem; border: 0; background: none; color: var(--ann-cream); font: 600 .95rem/1.2 var(--sans, system-ui, sans-serif); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.anniversary-close { position: absolute; z-index: 5; top: .75rem; right: .75rem; display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--ann-cream); border-radius: 50%; background: var(--ann-navy); color: var(--ann-cream); font: 300 1.9rem/1 Arial, sans-serif; cursor: pointer; }
.anniversary-close:hover { background: var(--ann-cream); color: var(--ann-navy); }
.anniversary-close:focus-visible, .anniversary-action:focus-visible, .anniversary-continue:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #b44b39; }
.anniversary-confetti { position: absolute; inset: 0 auto auto 0; width: 100%; height: 100%; z-index: 3; overflow: hidden; pointer-events: none; }
.anniversary-confetti i { position: absolute; top: 82%; width: 8px; height: 13px; border-radius: 2px; opacity: 0; animation: ann-burst-fall var(--d, 3s) linear var(--w, .8s) both; }
.anniversary-streamer { position: absolute; z-index: 3; left: 0; bottom: 0; width: 100%; height: 34%; pointer-events: none; }
.anniversary-streamer path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: ann-stream 2.6s ease-out 1.2s both; }

@keyframes ann-drift { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: none; } }
@keyframes ann-fade { from { opacity: 0; } }
@keyframes ann-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes ann-pop { 0% { opacity: 0; transform: scale(.55); } 70% { opacity: 1; transform: scale(1.06); } 100% { transform: none; } }
@keyframes ann-glow { 0%, 100% { text-shadow: none; } 35% { text-shadow: 0 0 28px rgba(233,191,88,.9), 0 0 60px rgba(233,191,88,.5); } }
@keyframes ann-ring { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes ann-burst { 0% { opacity: 0; transform: scale(.5) rotate(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6) rotate(25deg); } }
@keyframes ann-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(233,191,88,.7); } 60% { box-shadow: 0 0 0 14px rgba(233,191,88,0); } }
@keyframes ann-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(6px); } }
@keyframes ann-burst-fall {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) rotate(0deg) scale(.65); animation-timing-function: cubic-bezier(.12,.72,.24,1); }
  7% { opacity: 1; transform: translate3d(0, 0, 0) rotate(18deg) scale(1); }
  40% { opacity: 1; transform: translate3d(var(--burst-x, 0), var(--burst-y, -300px), 0) rotate(var(--spin-up, 260deg)); animation-timing-function: cubic-bezier(.46,0,.82,.3); }
  84% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--fall-x, 0), var(--fall-y, 180px), 0) rotate(var(--spin-down, 760deg)); }
}
@keyframes ann-stream { 0% { stroke-dashoffset: 900; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

@media (max-width: 760px) {
  .anniversary-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .anniversary-card { display: block; min-height: 0; max-height: calc(100dvh - 1rem); overflow-y: auto; }
  .anniversary-art { position: relative; inset: auto; width: 100%; height: clamp(240px, 46dvh, 420px); }
  .anniversary-art img { object-position: 58% 10%; }
  .anniversary-shade { bottom: auto; height: clamp(240px, 46dvh, 420px); background: linear-gradient(180deg, rgba(7,31,44,.25) 0%, rgba(7,31,44,0) 22%, rgba(7,31,44,.15) 60%, var(--ann-navy) 100%); }
  .anniversary-rule { top: .85rem; left: 1rem; right: 4.5rem; flex-direction: column; gap: .2rem; font-size: .66rem; }
  .anniversary-message { width: 100%; margin: -3.5rem 0 0; padding: 0 1.25rem 1.6rem; }
  .anniversary-logo { width: 120px; margin-bottom: 1rem; }
  .anniversary-mark span { font-size: clamp(4.5rem, 22vw, 6rem); }
  .anniversary-dialog h2 { font-size: clamp(1.7rem, 7.5vw, 2.3rem); }
  .anniversary-confetti i { top: clamp(230px, 42dvh, 360px); }
  .anniversary-streamer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .anniversary-dialog *, .anniversary-dialog *::before { animation: none !important; }
  .anniversary-confetti, .anniversary-streamer, .anniversary-fx { display: none !important; }
}
html.a11y-still .anniversary-dialog * { animation: none !important; }
html.a11y-still .anniversary-confetti, html.a11y-still .anniversary-streamer, html.a11y-still .anniversary-fx { display: none !important; }
