/* Layout: harbour-navy bands (hero, visit) bracket limestone bands (about, menu, gallery);
   brass marks the interactive and the priced; signal flags appear once as the brand's hoist. */
:root {
  /* Brand tokens — change these per restaurant */
  --navy: #0F2233;
  --navy-2: #173149;
  --stone: #E5DFD4;
  --paper: #EEEAE2;
  --ink: #15212C;
  --muted: #5B6670;
  --brass: #A9834A;
  --brass-hi: #D2B079;
  --on-navy: #E9E4DA;
  --on-navy-mute: #A8B3BD;
  --line: rgba(21, 33, 44, .16);
  --line-navy: rgba(233, 228, 218, .16);

  --sig-blue: #1F4E9E;
  --sig-red: #C6302A;
  --sig-yellow: #F2C232;
  --sig-black: #121417;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1200px;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --step-3: clamp(2.4rem, 1.4rem + 4vw, 4.6rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.05; }
h2 { font-size: var(--step-3); letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-size: .85em; letter-spacing: .02em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--brass); color: var(--navy); padding: 8px 12px; }
.skip:focus { left: 16px; }

/* Shared inner wrapper: one place for the side gutter */
.top-in, .hero-in, .hoist-in, .about-in, .menu-in, .gallery-in, .visit-in, .foot-in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy); }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  backdrop-filter: blur(8px);
  color: var(--on-navy);
  border-bottom: 1px solid var(--line-navy);
}
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; color: var(--on-navy); }
.top .logo { width: 128px; height: 30px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-navy-mute); padding-block: 6px; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--on-navy); border-color: var(--brass); }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font: 500 .8rem/1 var(--f-mono); letter-spacing: .08em;
  border: 1px solid var(--line-navy); padding: 9px 12px; border-radius: 2px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 10px; height: 6px; transition: transform .2s; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang summary:hover { border-color: var(--brass); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--navy-2); border: 1px solid var(--line-navy); min-width: 190px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.lang-list button {
  width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  background: none; border: 0; color: var(--on-navy); cursor: pointer; text-align: left;
  font: 400 .95rem/1 var(--f-body); padding: 10px 10px;
}
.lang-list button span { font: 500 .75rem/1 var(--f-mono); color: var(--on-navy-mute); }
.lang-list button:hover, .lang-list button[aria-current="true"] { background: rgba(255,255,255,.06); }
.lang-list button[aria-current="true"] span { color: var(--brass-hi); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px);
  align-items: end; padding-block: clamp(40px, 7vw, 96px) 0;
}
.hero-copy { min-width: 0; padding-bottom: clamp(32px, 6vw, 88px); display: grid; gap: 22px; }
.coords { font: 400 .78rem/1 var(--f-mono); letter-spacing: .08em; color: var(--brass-hi); }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-navy-mute);
}
.eyebrow .sep { width: 28px; height: 1px; background: var(--brass); }
.hero h1 { font-size: clamp(2.6rem, 1.1rem + 4.4vw, 5.1rem); letter-spacing: -.02em; line-height: .98; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: italic; color: var(--brass-hi); }
.lede { max-width: 34em; font-size: 1.15rem; font-weight: 300; color: var(--on-navy); opacity: .9; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 500 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: background .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--on-navy); color: var(--navy); }
.btn-solid:hover { background: var(--brass-hi); }
.btn-brass { background: var(--brass-hi); color: var(--navy); }
.btn-brass:hover { background: var(--on-navy); }
.btn-line { border: 1px solid var(--line-navy); color: var(--on-navy); }
.btn-line:hover { border-color: var(--brass-hi); color: var(--brass-hi); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 0; padding: 0; font-size: .9rem; color: var(--on-navy-mute); }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--on-navy); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--on-navy-mute); }
.status.is-open i { background: #5FBF8A; box-shadow: 0 0 0 4px rgba(95,191,138,.18); }
.status.is-closed i { background: var(--sig-red); }

.hero-media { position: relative; align-self: stretch; min-height: 0; }
.hero-media img {
  width: 100%; height: 100%; max-height: 720px; object-fit: cover; object-position: 50% 60%;
  aspect-ratio: 4 / 5;
}
.hero-media::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--brass);
  pointer-events: none; z-index: -0;
}

/* ---------- Signal-flag hoist ---------- */
.hoist { background: var(--stone); border-bottom: 1px solid var(--line); }
.hoist-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-block: 34px 26px; }
.flags { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; position: relative; }
.flags::before { content: ""; position: absolute; left: -10px; right: -10px; top: -9px; height: 1px; background: var(--ink); opacity: .55; }
.flags li { display: grid; justify-items: center; gap: 6px; }
.flags svg { width: 66px; height: 44px; box-shadow: 0 1px 0 rgba(0,0,0,.12); outline: 1px solid rgba(0,0,0,.08); transform-origin: top center; }
.flags li:nth-child(odd) svg { animation: flutter 6s ease-in-out infinite; }
.flags li:nth-child(even) svg { animation: flutter 6s ease-in-out -3s infinite; }
.flags b { font: 500 .7rem/1 var(--f-mono); color: var(--muted); }
.hoist-cap { font-size: .85rem; color: var(--muted); }
@keyframes flutter { 0%, 100% { transform: skewY(0deg); } 50% { transform: skewY(1.5deg); } }

/* ---------- About ---------- */
.about-in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px);
  padding-block: clamp(56px, 9vw, 128px); align-items: start;
}
.about-copy { display: grid; gap: 22px; position: sticky; top: 110px; }
.about-copy p { max-width: 32em; font-size: 1.12rem; color: #2B3742; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.am-a { grid-column: 1; aspect-ratio: 4 / 3.4; }
.am-b { grid-column: 2; grid-row: span 2; aspect-ratio: 3 / 4.4; }
.am-c { grid-column: 1; aspect-ratio: 4 / 3; }
.am-a, .am-b, .am-c { overflow: hidden; max-width: 100%; }

/* ---------- Menu ---------- */
.menu { background: var(--paper); border-block: 1px solid var(--line); }
.menu-in { padding-block: clamp(56px, 9vw, 120px); }
.menu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.menu-note { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.menu-note .eur { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: 0; color: var(--brass); text-transform: none; }

.tabs {
  display: flex; gap: 6px; margin: 36px 0 8px; overflow-x: auto; scrollbar-width: none;
  position: sticky; top: calc(58px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--paper);
  padding-block: 10px; border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; background: none; border: 1px solid transparent; cursor: pointer; color: var(--muted);
  font: 500 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; border-radius: 2px;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--navy); border-color: var(--ink); }

.panel { padding-top: 28px; }
.panel h3 { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: var(--step-2); margin: 0 0 18px; }
.group + .group { margin-top: 44px; }
.part + .part { margin-top: 72px; }
.part-note { margin-top: 18px; font-size: .9rem; font-style: italic; font-weight: 300; color: var(--muted); }
.group-label {
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 6px; display: flex; align-items: center; gap: 12px;
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 64px; }
.item { padding: 16px 0; border-bottom: 1px dashed var(--line); min-width: 0; break-inside: avoid; }
.item-row { display: flex; align-items: baseline; gap: 10px; }
.item-name { font-size: 1.1rem; font-weight: 500; min-width: 0; }
.item-note { font-style: italic; font-weight: 300; color: var(--muted); font-size: .95rem; }
.item-fill { flex: 1; min-width: 16px; border-bottom: 1px dotted rgba(21,33,44,.35); transform: translateY(-4px); }
.item-size { font: 400 .78rem/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.item-price { font: 500 1rem/1 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--navy); white-space: nowrap; }
.item-with { margin-top: 6px; font-size: .95rem; font-weight: 300; color: var(--muted); max-width: 40em; }
.menu-more { margin-top: 40px; font-size: .95rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-in { padding-block: clamp(56px, 9vw, 120px); }
.gallery h2 { margin-bottom: 36px; }
.grid { columns: 3 280px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 0; border: 0; background: var(--navy); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.shot:hover img { transform: scale(1.03); }

/* ---------- Visit ---------- */
.visit { background: var(--navy); color: var(--on-navy); }
.visit-in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px);
  padding-block: clamp(56px, 9vw, 120px); align-items: stretch;
}
.visit-copy { display: grid; gap: 32px; align-content: start; min-width: 0; }
.info { margin: 0; display: grid; }
.info > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-navy); }
.info dt { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-navy-mute); padding-top: 4px; }
.info dd { margin: 0; font-size: 1.05rem; }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.phone .mono { font-size: 1rem; }
.mini { display: inline-flex; gap: 6px; }
.chip {
  font: 500 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line-navy); background: none; color: var(--on-navy); padding: 8px 10px; border-radius: 2px; cursor: pointer;
}
.chip:hover { border-color: var(--brass-hi); color: var(--brass-hi); }
.map { position: relative; min-height: 360px; border: 1px solid var(--line-navy); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.map figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: var(--brass-hi); padding: 6px 10px; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: var(--on-navy-mute); border-top: 1px solid var(--line-navy); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot .logo { width: 104px; height: 25px; color: var(--on-navy); }
.foot .credit { margin-left: auto; font-size: .82rem; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(9, 18, 27, .92); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; }
.lb-close {
  position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px));
  width: 44px; height: 44px; border: 1px solid rgba(233,228,218,.3); border-radius: 50%;
  background: var(--navy); color: var(--on-navy); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Load-in: one orchestrated moment on the hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .2s; }
  .hero-copy > *:nth-child(5) { animation-delay: .28s; }
  .hero-copy > *:nth-child(6) { animation-delay: .34s; }
  .hero-media img { animation: unveil 1.4s cubic-bezier(.2,.7,.2,1) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flags svg { animation: none !important; }
}
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { margin-right: 14px; }
  .hero-media img { aspect-ratio: 4 / 3.6; max-height: 520px; }
  .hero-media::after { inset: 10px -10px -10px 10px; }
  .hero { padding-bottom: 36px; }
  .about-in, .visit-in { grid-template-columns: 1fr; }
  .about-copy { position: static; }
  .items { columns: 1; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .top .logo { width: 108px; height: 25px; }
  .tabs { top: calc(54px + env(safe-area-inset-top, 0px)); }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
  .foot .credit { margin-left: 0; }
  .flags svg { width: 48px; height: 32px; }
  .btn { flex: 1 1 auto; }
}
