/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4f7fa;
  --bg-2:      #e3e9ee;
  --paper:     #ffffff;
  --ink:       #0a2540;
  --ink-soft:  #1c3d5c;
  --ink-mute:  #5c7286;
  --accent:    #1c5d8c;   /* marine blue */
  --accent-2:  #123a56;   /* deep navy */
  --silver:    #b7c3cd;   /* metallic silver */
  --line:      rgba(10, 37, 64, 0.14);
  --line-soft: rgba(10, 37, 64, 0.07);
  --shadow:    0 30px 60px -30px rgba(10, 20, 35, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --container: 1180px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.05;
  color: var(--ink);
  font-weight: 600;
}
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.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;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.tabular { font-variant-numeric: tabular-nums; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--paper);
  box-shadow: 0 14px 30px -12px rgba(28, 93, 140, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(28, 93, 140, 0.6); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn-sm { padding: .7rem 1.25rem; font-size: 13.5px; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), height .3s var(--ease-out);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-solid {
  background: rgba(242, 246, 249, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  height: 72px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 40px; width: 40px; object-fit: contain; transition: height .3s var(--ease-out); }
.nav.is-solid .nav-brand img { height: 34px; width: 34px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.nav-brand-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

.nav-links { display: none; align-items: center; gap: 34px; }
.nav-link {
  position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding-block: 6px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--accent); transition: right .3s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-link.is-active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-call { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 10px; z-index: 20;
}
.nav-toggle span { width: 22px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 20px) 28px 40px;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease-out);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .mobile-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--ink-mute); font-size: 14.5px; }
.mobile-menu .mobile-meta a { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--accent-2); padding: 0; border: 0; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-call { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* =============================================================
   6. Sections — shared
   ============================================================= */
section { position: relative; }
.section-pad { padding-block: 96px; }
.section-pad-sm { padding-block: 64px; }
@media (max-width: 719px) { .section-pad { padding-block: 68px; } .section-pad-sm { padding-block: 48px; } }

.section-head { max-width: 640px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--ink-mute); font-size: 17px; max-width: 52ch; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* -- Reveal on scroll -- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
  color: var(--paper);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(4, 12, 22, 0.88) 0%, rgba(4, 12, 22, 0.34) 46%, rgba(4, 12, 22, 0.12) 68%, rgba(4,12,22,0.44) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 24px 76px;
  display: flex; flex-direction: column; gap: 22px;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; color: rgba(255,250,240,.85);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fd68a; box-shadow: 0 0 0 3px rgba(111,214,138,.25); }
.hero-title {
  color: #f2f6f9;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  max-width: 15ch;
  text-wrap: balance;
}
.hero-title em { color: var(--silver); font-style: italic; }
.hero-sub { font-size: 18px; max-width: 46ch; color: rgba(255,250,240,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero-scroll {
  position: absolute; right: 28px; bottom: 28px; z-index: 1;
  display: none; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,250,240,.7); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.8), transparent); }
@media (min-width: 720px) { .hero-scroll { display: flex; } }

/* =============================================================
   8. Highlight strip (espeto 2€ etc.)
   ============================================================= */
.strip {
  background: var(--ink);
  color: var(--bg);
  position: relative;
  z-index: 2;
}
.strip-inner {
  max-width: var(--container); margin-inline: auto; padding: 30px 24px;
  display: grid; grid-template-columns: 1fr; gap: 22px;
}
.strip-item { display: flex; align-items: baseline; gap: 14px; }
.strip-item b {
  font-family: var(--font-display); font-size: 40px; color: #e3edf5; font-weight: 700;
  white-space: nowrap; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(183, 195, 205, 0.35);
}
.strip-item span { font-size: 14.5px; color: rgba(242,246,249,.78); }
@media (min-width: 720px) {
  .strip-inner { grid-template-columns: repeat(3, 1fr); }
  .strip-item { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 4px; }
  .strip-item:not(:last-child) { border-right: 1px solid rgba(242,246,249,.14); }
}

/* =============================================================
   9. Marquee (catch ticker)
   ============================================================= */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 16px;
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 34s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 21px; color: var(--ink-mute); padding-inline: 22px;
  display: inline-flex; align-items: center; gap: 22px;
}
.marquee span::after { content: "·"; color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 90s; } }

/* =============================================================
   10. Manifesto / pillars
   ============================================================= */
.manifesto { display: grid; gap: 56px; align-items: start; }
.manifesto-lede { display: flex; flex-direction: column; gap: 20px; }
.manifesto-lede p { font-size: 19px; color: var(--ink-soft); max-width: 56ch; }
.pillars { display: grid; gap: 30px; }
.pillar { display: flex; gap: 18px; }
.pillar-n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.pillar h3 { font-size: 19px; margin-bottom: 6px; }
.pillar p { color: var(--ink-mute); font-size: 15.5px; }

@media (min-width: 960px) {
  .manifesto { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* =============================================================
   11. Bento dish grid (signature)
   ============================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.bento-card {
  position: relative;
  border-radius: 18px;
  overflow: clip;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  box-shadow: 0 1px 0 var(--line-soft);
}
.bento-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out), filter .7s var(--ease-out);
}
.bento-card::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(4,12,22,.84) 0%, rgba(4,12,22,.06) 52%, transparent 68%);
  transition: opacity .4s var(--ease-out);
}
.bento-card-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 18px;
  color: var(--paper);
  transform: translateY(6px);
  transition: transform .45s var(--ease-out);
}
.bento-card-info .dish-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.2; }
.bento-card-info .dish-note { font-size: 12px; color: rgba(255,250,240,.72); margin-top: 3px; }
.bento-card-info .dish-price {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: #10233a;
  margin-top: 10px; display: inline-flex; align-items: center;
  background: #e9eef2; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(4,12,22,.35);
}
.bento-card.is-hover img,
.bento-card:hover img { transform: scale(1.08); filter: saturate(1.15); }
.bento-card.is-hover .bento-card-info,
.bento-card:hover .bento-card-info { transform: translateY(0); }
.bento-card.featured { grid-column: span 2; aspect-ratio: 16 / 10; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
  .bento-card:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .bento-card.featured { grid-column: span 4; }
}

/* =============================================================
   12. Story / split section
   ============================================================= */
.story {
  display: grid; gap: 40px;
}
.story-figure { position: relative; border-radius: 20px; overflow: clip; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-body { display: flex; flex-direction: column; gap: 20px; align-self: center; }
.story-body p { font-size: 17px; color: var(--ink-soft); max-width: 50ch; }
.story-stats { display: flex; gap: 34px; margin-top: 8px; flex-wrap: wrap; }
.story-stat b { font-family: var(--font-display); font-size: 30px; color: var(--ink); display: block; }
.story-stat span { font-size: 13px; color: var(--ink-mute); }

@media (min-width: 960px) {
  .story { grid-template-columns: 0.85fr 1fr; align-items: center; gap: 70px; }
}

/* =============================================================
   13. Reservation / CTA
   ============================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--accent-2), #05141f);
  color: #eef2f5;
  border-radius: 26px;
  padding: 56px 32px;
  position: relative; overflow: clip;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40% -10% auto -10%; height: 180%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.14), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: #f2f6f9; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 22ch; }
.cta-band p { color: rgba(238,242,245,.85); max-width: 48ch; font-size: 16.5px; }
.cta-band .btn-primary { background: var(--accent); }

/* =============================================================
   14. Info cards (contact)
   ============================================================= */
.info-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.info-card .kicker { margin-bottom: 4px; }
.info-card p, .info-card a.value { font-size: 17px; color: var(--ink); font-weight: 500; }
.info-card .sub { font-size: 14px; color: var(--ink-mute); font-weight: 400; }
.info-card a.value:hover { color: var(--accent); }
@media (min-width: 720px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }

.reserve-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: clip;
}
.reserve-panel iframe { width: 100%; border: 0; display: block; min-height: 560px; }
.reserve-fallback { padding: 40px 28px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.reserve-fallback p { color: var(--ink-mute); max-width: 46ch; }

.map-frame {
  border-radius: 20px; overflow: clip; border: 1px solid var(--line);
  aspect-ratio: 16/9;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* =============================================================
   15. Menu page
   ============================================================= */
.menu-hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 40px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.menu-hero .kicker { margin-bottom: 14px; }
.menu-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 16ch; }
.menu-hero p { margin-top: 14px; font-size: 17px; color: var(--ink-mute); max-width: 54ch; }

.menu-jump {
  position: sticky; top: var(--nav-h); z-index: 100;
  background: rgba(242,246,249,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-jump::-webkit-scrollbar { display: none; }
.menu-jump-inner { display: flex; gap: 4px; max-width: var(--container); margin-inline: auto; padding: 12px 24px; }
.menu-jump a {
  flex: none;
  font-size: 13.5px; font-weight: 600; color: var(--ink-mute);
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  transition: background .25s, color .25s;
}
.menu-jump a:hover, .menu-jump a.is-active { background: var(--ink); color: var(--bg); }

.menu-section { padding-block: 52px; scroll-margin-top: calc(var(--nav-h) + 56px); border-bottom: 1px solid var(--line-soft); }
.menu-section:last-child { border-bottom: 0; }
.menu-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.menu-section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.menu-section-head .note { color: var(--accent-2); font-size: 13.5px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.menu-section.is-star { background: var(--ink); color: var(--bg); border-radius: 24px; padding: 44px 32px; border-bottom: 0; }
.menu-section.is-star .menu-section-head h2 { color: var(--silver); }
.menu-section.is-star .menu-section-head .note { color: rgba(242,246,249,.65); }
.menu-section.is-star .menu-item b { color: #f2f6f9; }
.menu-section.is-star .menu-item .dots { border-bottom-color: rgba(242,246,249,.25); }
.menu-section.is-star .menu-item .price { color: var(--silver); }
.menu-section.is-star .menu-item .d { color: rgba(242,246,249,.6); }

.menu-list { display: grid; gap: 4px 40px; grid-template-columns: 1fr; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding-block: 11px; }
.menu-item b { font-weight: 500; font-size: 15.5px; color: var(--ink); }
.menu-item .d { font-size: 12.5px; color: var(--ink-mute); display: block; margin-top: 1px; }
.menu-item .dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.menu-item .price { font-family: var(--font-mono); font-size: 14.5px; color: var(--accent); white-space: nowrap; }

@media (min-width: 860px) { .menu-list { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   16. Footer
   ============================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(242,246,249,.75);
  padding-block: 64px 34px;
}
.footer-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
  padding-bottom: 40px; margin-bottom: 30px; border-bottom: 1px solid rgba(242,246,249,.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 36px; width: 36px; }
.footer-brand span { font-family: var(--font-display); font-size: 19px; color: #f2f6f9; }
.footer-col h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,246,249,.5); margin-bottom: 16px; font-weight: 500; }
.footer-col p, .footer-col a { display: block; font-size: 14.5px; margin-bottom: 10px; color: rgba(242,246,249,.78); }
.footer-col a:hover { color: var(--silver); }
.footer-bottom { display: flex; flex-direction: column; gap: 14px; font-size: 13px; color: rgba(242,246,249,.5); }
.footer-bottom a { color: rgba(242,246,249,.65); }
.footer-bottom a:hover { color: var(--silver); }
.footer-social { display: flex; gap: 16px; }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* =============================================================
   17. Responsive base
   ============================================================= */
@media (min-width: 540px)  { .section-pad { padding-block: 108px; } }
@media (min-width: 1280px) { .container { padding-inline: 24px; } }

/* =============================================================
   18. Reduced motion — only the truly intrusive
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
