/* Au Poisson qui Fume · artisan fumoir / traiteur skin · hybrid base (sand paper + smoke-ink products band) · Spectral display */

:root {
  --ink:      #261E1D;   /* deep brown-ink text */
  --ink-2:    #1C2A30;   /* smoke-ink band (the products section) */
  --bg:       #F5F2EA;   /* sand / paper — matches logo background */
  --bg-alt:   #ECE6D8;   /* warmer sand band */
  --accent:   #91493B;   /* terracotta — the corrugated roof / brick-rustic */
  --accent-deep: #AA4E3C;
  --smoke:    #5E7E92;   /* the smoke-blue logo fish (secondary, sparing) */
  --gold:     #B08A4A;   /* warm metallic for marquee separators */
  --paper-on-ink: #EFE9DC;
  --muted:    rgba(38,30,29,.66);
  --muted-light: rgba(239,233,220,.66);
  --rule:     rgba(38,30,29,.14);
  --rule-light: rgba(239,233,220,.16);

  --display: "Spectral", ui-serif, Georgia, "Times New Roman", serif;
  --body:    "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

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

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.005em; margin: 0; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--rad) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.kicker {
  display: inline-block;
  font-family: var(--body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .7rem var(--container);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--rule);
}
.nav__mark { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.nav__mark img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.nav__mark span {
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: -.005em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.nav__links { display: none; gap: 1.5rem; }
.nav__links a { font-size: .92rem; font-weight: 500; }
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  flex: none;
  font-size: .82rem; font-weight: 600;
  padding: .45rem .9rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
}
.nav__cta:hover { background: var(--accent); color: #fff; }

@media (min-width: 920px) {
  .nav__links { display: flex; }
}
@media (max-width: 440px) {
  .nav__mark span { display: none; }
}

/* ---------- 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(.74) saturate(1.02); }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 85% at 50% 112%, rgba(20,12,10,.82), transparent 62%),
    linear-gradient(180deg, rgba(28,20,18,.36) 0%, rgba(28,20,18,.18) 38%, rgba(28,20,18,.78) 100%);
}
.hero__inner {
  width: 100%; max-width: 92vw;
  display: flex; flex-direction: column; gap: .85rem;
  align-items: center; text-align: center;
  padding: 1.5rem;
  color: var(--paper-on-ink);
}
.hero__kicker {
  font-family: var(--body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--paper-on-ink); margin: 0; opacity: .92;
}
.hero__title {
  font-size: clamp(3rem, 13vw, 7rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--paper-on-ink);
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title-em { font-style: italic; font-weight: 600; color: #E9B98C; }
.hero__est {
  display: flex; align-items: center; justify-content: center;
  gap: .7rem; margin: .35rem 0;
  font-family: var(--body);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--paper-on-ink); opacity: .78;
}
.hero__est-rule { display: inline-block; width: clamp(26px, 8vw, 56px); height: 1px; background: currentColor; opacity: .6; }
.hero__tagline {
  font-size: clamp(1rem, 3.4vw, 1.18rem);
  letter-spacing: .03em;
  color: var(--paper-on-ink);
  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: 64ch; padding: 3rem; }
  .hero__cta { gap: .75rem; margin-top: 2rem; }
}

/* ---------- BUTTONS (pill, uppercase, BNT-style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.3rem;
  font-family: var(--body);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--paper-on-ink); color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(239,233,220,.55);
}
.btn--primary:hover { background: #fff; color: var(--ink); }
.btn--ghost {
  background: transparent; color: var(--paper-on-ink);
  border-color: rgba(239,233,220,.6);
}
.btn--ghost:hover { background: var(--paper-on-ink); color: var(--ink); border-color: var(--paper-on-ink); }
.btn--accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(145,73,59,.6);
}
.btn--accent:hover { background: var(--accent-deep); filter: brightness(1.04); color: #fff; }

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

/* ---------- MARQUEE ---------- */
.strip { background: var(--accent); color: var(--paper-on-ink); overflow: hidden; }
.strip__track {
  display: flex; width: max-content;
  gap: 2rem; padding: .85rem 0;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1rem; font-weight: 500; font-style: italic;
  letter-spacing: .08em; text-transform: uppercase;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.strip__track .sep { color: var(--gold); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Force-animate even under reduced-motion (hard rule) */
@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: marquee 40s linear infinite !important; }
}

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

/* ---------- SPÉCIALITÉS (the smoke-ink band — the hybrid shift) ---------- */
.menu { background: var(--ink-2); color: var(--paper-on-ink); }
.menu .kicker { color: #E9B98C; }
.menu h2 { color: var(--paper-on-ink); }
.menu__head { max-width: 60ch; margin-bottom: 2.5rem; }
.menu__lede { color: var(--muted-light); }
.menu__grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.card {
  position: relative; display: block; width: 100%;
  text-align: left; font: inherit; color: var(--paper-on-ink);
  cursor: zoom-in;
  background: rgba(239,233,220,.05);
  border: 1px solid var(--rule-light);
  border-radius: var(--rad);
  padding: 0; overflow: hidden;
  transition: transform .25s var(--ease-out), 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: 600;
  color: var(--paper-on-ink); 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(--accent); outline-offset: 3px; }
.card:hover { transform: translateY(-3px); border-color: rgba(239,233,220,.4); color: var(--paper-on-ink); }
.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.1) contrast(1.04); }
.card__body { padding: 1.1rem 1.25rem 1.4rem; }
.card__tag {
  display: inline-block; font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: #E9B98C; margin-bottom: .5rem;
}
.card h3 { font-family: var(--display); font-style: italic; font-size: 1.45rem; margin: 0 0 .35rem; color: var(--paper-on-ink); }
.card p { color: var(--muted-light); font-size: .95rem; margin: 0; }
.menu__note { margin-top: 1.5rem; color: var(--muted-light); font-size: .92rem; font-style: italic; }

@media (min-width: 760px) {
  .menu__grid { grid-template-columns: 3fr 2fr; align-items: start; }
  .card--feature img { aspect-ratio: 4/5; }
}

/* ---------- MENU / CARTE (back to sand paper) ---------- */
.carte { background: var(--bg-alt); color: var(--ink); }
.carte .kicker { color: var(--accent); }
.carte h2 { color: var(--ink); }
.carte__lede { color: var(--muted); }
.carte__gallery {
  margin-top: 2rem; display: grid; gap: 1rem;
  grid-template-columns: 1fr; max-width: 30rem;
}
.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 var(--rule);
  box-shadow: 0 14px 34px rgba(38,30,29,.16);
  transition: transform .35s ease;
}
.carte__cover:hover img { transform: scale(1.02); }
.carte__cover:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: calc(var(--rad) + 2px); }
.carte__allergens { color: var(--muted); }

/* ---------- HOURS (L4 — dashed two-column list) ---------- */
.hours { background: var(--bg); }
.hours .kicker { color: var(--accent); }
.hours__list {
  max-width: 34rem; margin: 1.25rem 0 0;
  font-variant-numeric: tabular-nums;
}
.hours__row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  align-items: baseline;
  padding: .8rem 0;
  border-bottom: 1px dashed var(--rule);
}
.hours__row dt { font-family: var(--display); font-size: 1.05rem; font-weight: 500; margin: 0; }
.hours__row dd { margin: 0; color: var(--muted); font-weight: 500; }
.hours__row--closed dt, .hours__row--closed dd { opacity: .5; }
.hours__note { margin-top: 1.25rem; color: var(--muted); font-style: italic; font-size: .95rem; }
.hours__cta { margin-top: 1.5rem; }

/* ---------- FIND US ---------- */
.find { background: var(--bg-alt); }
.find .kicker { color: var(--accent); }
.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(.15) contrast(1.04);
}
.find__contact address { font-style: normal; }
.find__contact p { font-size: .95rem; }
.find__contact strong { font-family: var(--display); color: var(--ink); display: inline-block; margin-bottom: .15rem; font-size: 1.05rem; }
.find__contact a { color: var(--ink); border-bottom: 1px solid rgba(38,30,29,.32); }
.find__contact a:hover { color: var(--accent); border-color: var(--accent); }
.find__socials { display: flex; gap: .9rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
.find__socials > a:first-child {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule); border-radius: 999px;
  color: var(--ink);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.find__socials > a:first-child:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.find__directions {
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .7rem 1.2rem; min-height: 44px;
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--accent); border-radius: 999px;
  color: var(--accent);
}
.find__directions:hover { background: var(--accent); color: #fff; }

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

/* ---------- FOOTER ---------- */
.footer {
  padding: 3rem var(--container) 2.2rem;
  background: var(--ink-2);
  color: var(--paper-on-ink);
  text-align: center;
  border-top: 1px solid var(--rule-light);
}
.footer__logo { width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 50%; }
.footer__mark { font-family: var(--display); font-style: italic; font-size: 1.85rem; font-weight: 600; margin: 0 0 .25rem; color: var(--paper-on-ink); }
.footer__line { color: var(--muted-light); font-size: .9rem; margin: 0 0 1rem; letter-spacing: .03em; }
.footer__credit { color: var(--muted-light); font-size: .8rem; margin: 0; }
.footer__credit a { color: var(--paper-on-ink); border-bottom: 1px solid var(--rule-light); }

/* ---------- GRAIN OVERLAY ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none; opacity: .055; 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.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0 0.36  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;
}

/* ---------- 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(12,8,6,.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,233,220,.25);
  background: rgba(28,20,18,.85); color: var(--paper-on-ink);
  font-size: 1.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; font-family: inherit;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: rgba(145,73,59,.28); border-color: rgba(145,73,59,.5); color: #fff;
}
.lightbox__close:active, .lightbox__prev:active, .lightbox__next:active { transform: scale(.94); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.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,233,220,.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; }

/* ---------- FOCUS + REDUCED MOTION ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; scroll-behavior: auto !important; }
  /* marquee exempt — re-asserted above with !important */
}
