/* Le Retro · bistro/brasserie skin, mobile-first, BNT hero pattern, dark base */

:root {
  --ink:    #1B1F23;
  --ink-2:  #14171a;
  --cream:  #EFE4CD;
  --vaima:  #E8DDC4;
  --palm:   #2D4A2E;
  --lagoon: #1F5E5B;
  --sunset: #C84D2C;
  --paper:  #FBF6EE;
  --muted:  rgba(239,228,205,.62);
  --rule:   rgba(239,228,205,.14);

  --display: "Bricolage Grotesque", ui-serif, Georgia, serif;
  --body:    "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: clamp(1rem, 5vw, 4rem);
  --rad: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cream); text-decoration: none; }
a:hover { color: var(--sunset); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1rem; }
.kicker {
  display: inline-block;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sunset);
  margin: 0 0 1rem;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--container);
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__mark { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.nav__links { display: none; gap: 1.5rem; }
.nav__links a { font-size: .95rem; font-weight: 500; }
.nav__cta {
  font-size: .85rem; font-weight: 600;
  padding: .45rem .85rem;
  border: 1px solid var(--cream);
  border-radius: 999px;
}
.nav__cta:hover { background: var(--cream); color: var(--ink); }

@media (min-width: 820px) {
  .nav__links { display: flex; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(0,0,0,.85), transparent 60%),
    linear-gradient(180deg, rgba(27,31,35,.32) 0%, rgba(27,31,35,.18) 40%, rgba(27,31,35,.85) 100%);
}
.hero__inner {
  width: 100%; max-width: 92vw;
  display: flex; flex-direction: column; gap: .9rem;
  align-items: center; text-align: center;
  padding: 1.5rem;
}
.hero__kicker {
  font-family: var(--body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--cream); margin: 0;
  opacity: .9;
}
.hero__title {
  font-size: clamp(3.5rem, 16vw, 8rem);
  line-height: .95;
  letter-spacing: -.025em;
  margin: 0;
}
.hero__tagline {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  letter-spacing: .04em;
  color: var(--cream);
  margin: 0;
}
.hero__cta {
  display: flex; gap: .65rem;
  justify-content: center; flex-wrap: wrap;
  margin-top: 1.6rem;
}
@media (min-width: 820px) {
  .hero__inner { max-width: 60ch; padding: 3rem; }
  .hero__cta { gap: .75rem; margin-top: 2rem; }
}

/* ---------- BUTTONS (pill, uppercase, BNT-style premium) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.3rem;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--cream); color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(239,228,205,.55);
}
.btn--primary:hover { background: #f4ead2; color: var(--ink); }
.btn--ghost {
  background: transparent; color: var(--cream);
  border-color: rgba(239,228,205,.6);
}
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--accent {
  background: var(--sunset); color: var(--cream);
  box-shadow: 0 10px 24px -10px rgba(200,77,44,.6);
}
.btn--accent:hover { filter: brightness(1.07); color: var(--cream); }

@media (min-width: 820px) {
  .btn { font-size: .9rem; padding: .9rem 1.6rem; }
}

/* ---------- SECTION COMMONS ---------- */
section { padding: 5rem var(--container); position: relative; }
section h2 { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1.25rem; max-width: 22ch; }
section p { font-size: clamp(1rem, 2.5vw, 1.1rem); max-width: 60ch; }

/* ---------- ABOUT ---------- */
.about { isolation: isolate; padding-block: 6rem; }
.about__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.9); }
.about__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,23,26,.88), rgba(27,31,35,.92)); }
.about__inner { max-width: 60ch; }
.about__inner h2 { color: var(--cream); }
.about__inner p { color: var(--cream); opacity: .92; }

/* ---------- MENU ---------- */
.menu { background: var(--ink-2); }
.menu__head { max-width: 60ch; margin-bottom: 2.5rem; }
.menu__lede { color: var(--muted); }
.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  background: rgba(239,228,205,.04);
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.card__num {
  position: absolute;
  top: .8rem; right: 1rem;
  z-index: 1;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--cream);
  opacity: .55;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.card:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; }
.card:hover { transform: translateY(-3px); border-color: rgba(239,228,205,.4); color: var(--cream); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.card:hover img { transform: scale(1.04); filter: saturate(1.12) contrast(1.05); }
.card__body { padding: 1.1rem 1.25rem 1.4rem; }
.card__tag {
  display: inline-block;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--sunset);
  margin-bottom: .5rem;
}
.card h3 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 .35rem; color: var(--cream); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.menu__note { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; font-style: italic; }

@media (min-width: 700px) {
  .menu__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .menu__grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(0, auto); }
  .card--feature { grid-row: span 2; }
  .card--feature img { aspect-ratio: 4/5; }
}

/* ---------- CARTE ---------- */
.carte { background: var(--paper); color: var(--ink); }
.carte .kicker { color: var(--lagoon); }
.carte h2 { color: var(--ink); }
.carte__lede { color: rgba(27,31,35,.7); }
.carte__gallery {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 60ch;
}
.carte__cover {
  display: block;
  width: 100%; padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}
.carte__gallery img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--rad);
  border: 1px solid rgba(27,31,35,.1);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: transform .35s ease;
}
.carte__cover:hover img { transform: scale(1.02); }
.carte__cover:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; border-radius: calc(var(--rad) + 2px); }
.carte__note { margin-top: 1.5rem; font-size: .9rem; font-style: italic; color: rgba(27,31,35,.65); }

/* ---------- JAZZ ---------- */
.jazz { isolation: isolate; padding-block: 6rem; }
.jazz__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.jazz__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(1.05); }
.jazz__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(27,31,35,.82)); }
.jazz__inner { max-width: 50ch; }
.jazz__inner h2 { color: var(--cream); }
.jazz__inner p { color: var(--cream); opacity: .92; }
.jazz__inner .btn { margin-top: .5rem; }

/* ---------- HOURS ---------- */
.hours { background: var(--ink-2); }
.hours__table {
  width: 100%; max-width: 36rem;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.hours__table th, .hours__table td { padding: .9rem 0; border-bottom: 1px solid var(--rule); text-align: left; }
.hours__table th { font-family: var(--body); font-weight: 500; color: var(--cream); }
.hours__table td { color: var(--muted); }

/* ---------- FIND US ---------- */
.find { background: var(--ink); }
.find__grid {
  display: grid; gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}
.find__map iframe {
  display: block;
  width: 100%; height: 320px;
  border: 1px solid var(--rule);
  border-radius: var(--rad);
  filter: grayscale(.2) contrast(1.05);
}
.find__contact p { font-size: .95rem; }
.find__contact strong { font-family: var(--display); color: var(--cream); display: inline-block; margin-bottom: .15rem; font-size: 1rem; }
.find__contact a { color: var(--cream); border-bottom: 1px solid rgba(239,228,205,.4); }
.find__socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.find__socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--cream);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.find__socials a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

@media (min-width: 880px) {
  .find__grid { grid-template-columns: 2fr 1fr; align-items: start; }
  .find__map iframe { height: 420px; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 3rem var(--container) 2rem;
  background: var(--ink-2);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.footer__mark { font-family: var(--display); font-size: 2rem; font-weight: 700; margin: 0 0 .25rem; color: var(--cream); }
.footer__line { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; letter-spacing: .04em; }
.footer__credit { color: var(--muted); font-size: .8rem; margin: 0; }
.footer__credit a { color: var(--cream); border-bottom: 1px solid var(--rule); }

/* ---------- GRAIN OVERLAY (paper texture, site-wide) ---------- */
.grain {
  position: fixed; inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.93  0 0 0 0 0.89  0 0 0 0 0.80  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ---------- HERO EST MARK (editorial year flourish) ---------- */
.hero__est {
  display: flex; align-items: center; justify-content: center;
  gap: .7rem;
  margin: .65rem 0 .35rem;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .72;
}
.hero__est-rule {
  display: inline-block;
  width: clamp(28px, 8vw, 60px);
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- REVEAL ON SCROLL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.16,.84,.32,1), transform .9s cubic-bezier(.16,.84,.32,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- LIGHTBOX ---------- */
.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; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,5,3,.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.lightbox__stage {
  position: relative;
  width: 100%; max-width: 1100px; height: 100%;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.lightbox__stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  background: var(--ink);
  transition: opacity .2s ease;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  -webkit-appearance: none; appearance: none;
  width: 48px; height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(239,228,205,.25);
  background: rgba(27,31,35,.85);
  color: var(--cream);
  font-size: 1.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
  z-index: 2; font-family: inherit;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(200,77,44,.18);
  border-color: rgba(200,77,44,.5);
  color: var(--cream);
}
.lightbox__close:active,
.lightbox__prev:active,
.lightbox__next:active { transform: scale(.94); }
.lightbox__close { top: 1.25rem; right: 1.25rem; font-size: 1.6rem; }
.lightbox__prev { left: clamp(.75rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.75rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:active { transform: translateY(-50%) scale(.94); }
.lightbox__next:active { transform: translateY(-50%) scale(.94); }
.lightbox__info {
  position: absolute; bottom: 1.25rem;
  left: 50%; transform: translateX(-50%);
  background: rgba(239,228,205,.95);
  color: var(--ink);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .78rem; font-weight: 500;
  letter-spacing: .04em;
  display: flex; gap: .6rem; align-items: center;
  white-space: nowrap;
}
.lightbox__counter { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) {
  .lightbox__close { top: .75rem; right: .75rem; width: 42px; height: 42px; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
  .lightbox__info { bottom: .75rem; font-size: .72rem; }
}
body.lightbox-open { overflow: hidden; }

/* ---------- ACCESS ---------- */
:focus-visible { outline: 2px solid var(--sunset); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
