/* Shared presentation and interaction contract for the Feliciano concept preview. */
:root {
  --concept-notice-height: 54px;
  --concept-ink: #3d2b24;
  --concept-gold: #c49a63;
  --concept-paper: #f7f5f2;
}

html { scroll-padding-top: calc(var(--concept-notice-height) + 5rem); }
body { padding-top: var(--concept-notice-height) !important; }
.navbar { top: var(--concept-notice-height) !important; }

.preview-concept-notice {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  box-sizing: border-box;
  min-height: var(--concept-notice-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .45rem .85rem;
  border-bottom: 2px solid var(--concept-gold);
  background: var(--concept-ink);
  color: #fff;
  font: 500 .76rem/1.35 Poppins, "Segoe UI", sans-serif;
  text-align: center;
}
.preview-concept-notice strong { color: #e7c795; font-weight: 700; }

.concept-mobile-menu-button {
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 600 .95rem/1 Poppins, "Segoe UI", sans-serif;
}
.concept-mobile-menu-button:hover { background: rgba(255,255,255,.12); }
.concept-mobile-menu-button .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.concept-mobile-menu-button:focus-visible,
#mobile-menu a:focus-visible {
  outline: 3px solid #f0c987;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  #mobile-menu.concept-mobile-open {
    position: absolute !important;
    z-index: 100;
    top: 100%;
    right: 0;
    left: 0;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    margin: 0;
    padding: .75rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,.16);
    background: rgba(61,43,36,.98);
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
  }
  #mobile-menu.concept-mobile-open > a,
  #mobile-menu.concept-mobile-open > div > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    margin-left: 0 !important;
    padding: .65rem .75rem;
    color: var(--concept-paper);
    text-decoration: none;
  }
  #mobile-menu.concept-mobile-open > a:hover,
  #mobile-menu.concept-mobile-open > div > a:hover { color: #e7c795; }
  #mobile-menu.concept-mobile-open > div { width: 100%; }
}
@media (min-width: 768px) {
  :root { --concept-notice-height: 42px; }
  .concept-mobile-menu-button { display: none !important; }
}
@media (max-width: 389px) {
  :root { --concept-notice-height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  #mobile-menu, #mobile-menu * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.concept-legal-main { min-height: calc(100vh - var(--concept-notice-height)); padding: 7rem 1rem 4rem; background: #f7f5f2; }
.concept-legal-panel { max-width: 48rem; margin: 0 auto; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid rgba(61,43,36,.14); background: #fff; box-shadow: 0 14px 34px rgba(61,43,36,.08); }
.concept-legal-eyebrow { margin: 0 0 .75rem; color: #8a6337; font: 700 .75rem/1.4 Poppins, "Segoe UI", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.concept-legal-panel h1 { margin: 0 0 1.25rem; color: var(--concept-ink); font: 700 clamp(2rem, 6vw, 3.25rem)/1.1 "Playfair Display", Georgia, serif; }
.concept-legal-panel p { max-width: 66ch; color: #4b4540; font: 400 1rem/1.75 Poppins, "Segoe UI", sans-serif; }
.concept-legal-panel a { color: #694725; text-underline-offset: .18em; }
.concept-legal-footer { padding: 1.5rem 1rem; background: var(--concept-ink); color: var(--concept-paper); text-align: center; font: 400 .85rem/1.6 Poppins, "Segoe UI", sans-serif; }
.concept-legal-footer a { color: #e7c795; }
@media (max-width: 767px) {
  .preview-concept-notice { padding-inline: .65rem; }
  .concept-legal-main { padding-top: 6rem; }
}

.masonry-item:focus-visible { outline: 3px solid #f0c987; outline-offset: 3px; }
.concept-lightbox {
  box-sizing: border-box;
  width: min(1000px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 3.5rem 1rem 1rem;
  border: 1px solid rgba(255,255,255,.22);
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 18px 56px rgba(0,0,0,.4);
}
.concept-lightbox::backdrop { background: rgba(0,0,0,.86); }
.concept-lightbox-content { position: relative; display: flex; align-items: center; justify-content: center; }
.concept-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
#lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 500 1.75rem/1 system-ui, sans-serif;
}
#lightbox-close:hover { background: rgba(255,255,255,.12); }
#lightbox-close:focus-visible { outline: 3px solid #f0c987; outline-offset: 3px; }
@media (max-width: 767px) {
  .concept-lightbox { padding: 3.25rem .5rem .5rem; }
  .concept-lightbox img { max-height: calc(100vh - 6rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Keep every preview filter reachable when the restaurant sample narrows. */
.course-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 767px) {
  .course-filter-tabs { gap: .5rem; }
  .course-filter-tabs > .course-tab {
    min-height: 44px;
    padding-inline: .9rem;
  }
}
