/* ═══════════════════════════════════════════════════════════
   Osteria del Porto — Adriatico vivo
   Saturated Mediterranean seafood · Bari Vecchia
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #f7f3eb;
  --bg-mist: #eef5f8;
  --bg-elevated: #ffffff;
  --sea: #0b3d5c;
  --sea-mid: #125a8a;
  --sea-deep: #072a40;
  --amber: #e8a838;
  --amber-hot: #d4922a;
  --foam: #faf8f4;
  --sand: #6b6358;
  --sand-light: #9a9185;
  --ink: #1a2330;
  --line: rgba(11, 61, 92, 0.12);
  --line-strong: rgba(11, 61, 92, 0.22);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 73.75rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: clamp(1.0625rem, 1.4vw, 1.2rem);
  --text-xl: clamp(1.35rem, 2vw, 1.75rem);
  --text-2xl: clamp(2rem, 4vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 5.5vw, 4.25rem);
  --text-hero: clamp(2.75rem, 8vw, 6.5rem);
  --text-brand: clamp(3.25rem, 11vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (pointer: fine) {
  body { cursor: none; }
  a, button, .demo-ribbon { cursor: none; }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body { cursor: auto; }
  a, button, .demo-ribbon { cursor: pointer; }
  .cursor { display: none !important; }
}

body.is-menu-open { overflow: hidden; }

body.is-scroll-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  touch-action: none;
}

html.is-scroll-restoring {
  scroll-behavior: auto !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none !important;
  -webkit-filter: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

.icon--sm { width: 1em; height: 1em; }
.icon--logo { width: 1.25rem; height: 1.25rem; margin-right: 0.35rem; }
.icon--exp { width: 1.75rem; height: 1.75rem; color: var(--amber); margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}

.visually-hidden,
.skip-link:not(:focus):not(:focus-visible) {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10020;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: nowrap;
  padding: 0.7rem 1.1rem;
  background: var(--sea);
  color: var(--foam);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ── Cursor ── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.cursor__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.cursor.is-hover .cursor__dot {
  transform: scale(2.4);
}

.cursor.is-text .cursor__dot {
  transform: scale(4.5);
  opacity: 0.9;
}

.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor.is-text .cursor__label { opacity: 1; }

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--sea);
  color: var(--foam);
}

.loader__brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 90vw;
  overflow-wrap: anywhere;
  white-space: normal;
}

.loader__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loader__count {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.loader__bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Demo ribbon ── */
.demo-ribbon {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 900;
  padding: 0.4rem 0.75rem;
  background: var(--sea);
  color: var(--foam);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s;
}

.demo-ribbon:hover { background: var(--sea-mid); }

.demo-ribbon strong { font-weight: 600; color: var(--amber); }

@media (max-width: 768px) {
  .demo-ribbon {
    top: auto;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    left: 0.75rem;
  }
}

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 800;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sea-mid), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 700;
  height: var(--header-h);
  transition: background 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--sea);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-logo em {
  font-style: italic;
  color: var(--sea-mid);
}

.site-header:not(.is-scrolled) .site-logo,
.site-header:not(.is-scrolled) .site-nav a {
  color: var(--foam);
}

.site-header:not(.is-scrolled) .site-logo em {
  color: var(--amber);
}

.site-header:not(.is-scrolled) .menu-toggle span {
  background: var(--foam);
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
}

.site-nav a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sand);
  transition: color 0.25s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--sea);
}

.site-header:not(.is-scrolled) .site-nav a:hover,
.site-header:not(.is-scrolled) .site-nav a.is-active {
  color: var(--amber);
}

.header-cta { flex-shrink: 0; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
}

/* ── Buttons — no transform on hover (keeps CTAs planted) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  will-change: auto;
  transform: none !important;
}

.btn--blue {
  background: var(--sea);
  color: var(--foam);
}

.btn--blue:hover { background: var(--sea-mid); }

.btn--amber {
  background: var(--amber);
  color: var(--sea-deep);
}

.btn--amber:hover { background: var(--amber-hot); }

.btn--ghost {
  background: transparent;
  color: var(--foam);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--foam);
}

/* ── Menu toggle ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--sea);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) { opacity: 0; }

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
}

/* ── Overlay nav ── */
.overlay-nav {
  position: fixed;
  inset: 0;
  z-index: 650;
  visibility: hidden;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.overlay-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.overlay-nav__bg {
  position: absolute;
  inset: 0;
  background: var(--sea-deep);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.overlay-nav.is-open .overlay-nav__bg { opacity: 1; }

.overlay-nav__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: var(--gutter);
  max-width: 720px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.overlay-nav__label {
  margin: 0 0 1.5rem;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.overlay-nav__link {
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  color: var(--foam);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition: color 0.25s;
}

@media (max-height: 700px) {
  .overlay-nav__link {
    font-size: clamp(1.7rem, 8vh, 2.6rem);
    padding: 0.4rem 0;
  }
}

.overlay-nav__link:hover { color: var(--amber); }

.overlay-nav__cta {
  align-self: flex-start;
  margin-top: 2rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(4rem, 10vw, 6.5rem);
  color: var(--foam);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  will-change: transform;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 42, 64, 0.55) 0%, rgba(7, 42, 64, 0.18) 28%, rgba(7, 42, 64, 0.55) 62%, rgba(7, 42, 64, 0.94) 100%),
    linear-gradient(105deg, rgba(11, 61, 92, 0.55) 0%, transparent 48%);
}

/* Large fish watermark — craft detail, not kitsch */
.hero__fish-wrap {
  position: absolute;
  right: clamp(-2%, 4vw, 8%);
  top: 42%;
  width: min(52vw, 28rem);
  z-index: 1;
  pointer-events: none;
  transform: translateY(-50%) rotate(-8deg);
}

.hero__fish {
  display: block;
  width: 100%;
  height: auto;
  color: rgba(250, 248, 244, 0.08);
}

.hero__corner {
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

.hero__corner--tl {
  top: calc(var(--header-h) + 1.25rem);
  left: var(--gutter);
  border-top: 1px solid rgba(250, 248, 244, 0.45);
  border-left: 1px solid rgba(250, 248, 244, 0.45);
}

.hero__corner--br {
  right: var(--gutter);
  bottom: 5.5rem;
  border-bottom: 1px solid rgba(250, 248, 244, 0.35);
  border-right: 1px solid rgba(250, 248, 244, 0.35);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
}

.hero__brand {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--foam);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero__brand-line {
  display: block;
  overflow: hidden;
}

.hero__brand-line--em {
  font-style: italic;
  color: var(--amber);
  padding-left: 0.08em;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  line-height: 1.55;
  color: rgba(250, 248, 244, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero__text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.25s, border-color 0.25s;
}

.hero__text-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.hero__text-link span {
  transition: transform 0.25s var(--ease);
}

.hero__text-link:hover span {
  transform: translateX(4px);
}

.hero__shore {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  color: var(--sea);
  line-height: 0;
  pointer-events: none;
}

.hero__shore-wave {
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 56px);
}

@media (max-width: 700px) {
  .hero__fish-wrap {
    width: min(68vw, 16rem);
    top: 36%;
    opacity: 0.9;
  }

  .hero__corner {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Wave + fish divider between hero and page */
.sea-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.75rem var(--gutter) 0.5rem;
  background: var(--sea);
  color: rgba(250, 248, 244, 0.35);
}

.sea-divider svg {
  width: min(28vw, 10rem);
  height: auto;
}

.sea-divider__fish {
  width: 3.25rem;
  color: var(--amber);
  opacity: 0.85;
}

/* ── Marquee ── */
.marquee {
  background: var(--sea);
  color: var(--foam);
  overflow: hidden;
  padding: 0.9rem 0;
  border-bottom: 3px solid var(--amber);
}

.marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.01em;
  white-space: nowrap;
  will-change: transform;
}

.marquee__track span:nth-child(even) {
  color: var(--amber);
  font-style: normal;
  opacity: 0.7;
}

/* ── Oggi in cucina ── */
.oggi {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--bg-mist);
  border-bottom: 1px solid var(--line);
}

.oggi__ornament {
  position: absolute;
  right: var(--gutter);
  top: 1.25rem;
  width: 4.5rem;
  color: var(--sea);
  opacity: 0.12;
  pointer-events: none;
}

.oggi__ornament svg {
  display: block;
  width: 100%;
  height: auto;
}

.oggi__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.oggi__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sea);
}

.oggi__note {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--sand);
  max-width: 28rem;
}

.oggi__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.oggi__card {
  padding: 1.5rem 1.35rem;
  background: var(--bg-elevated);
  border-left: 3px solid var(--sea-mid);
  min-width: 0;
}

.oggi__card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sea);
}

.oggi__card p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--sand);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .oggi__grid { grid-template-columns: 1fr; }
}

/* ── Sections shared ── */
.section {
  padding: clamp(4rem, 10vw, 7.5rem) 0;
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--sea);
  overflow-wrap: anywhere;
}

.section__title em {
  font-style: italic;
  color: var(--sea-mid);
}

.section__lead {
  margin: 0;
  max-width: 36rem;
  font-size: var(--text-lg);
  color: var(--sand);
  line-height: 1.55;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section__ornament {
  display: block;
  width: min(12rem, 40vw);
  margin-bottom: 1rem;
  color: var(--sea-mid);
  opacity: 0.35;
}

.section__ornament svg {
  display: block;
  width: 100%;
  height: auto;
}

.section__head--faq {
  margin-top: clamp(3rem, 7vw, 5rem);
}

/* ── Mercato ── */
.mercato {
  background: var(--bg);
}

.mercato__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-width: 0;
}

.mercato__timeline {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.mercato__step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.mercato__time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--amber-hot);
  line-height: 1.2;
}

.mercato__step p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--sand);
}

.mercato__quote {
  margin: 0;
  padding: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.4;
  color: var(--sea);
  border-top: 2px solid var(--sea);
}

.mercato__quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand-light);
}

.mercato__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.mercato__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.mercato__figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(7, 42, 64, 0.75));
  color: var(--foam);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-clip] {
  clip-path: inset(100% 0 0 0);
  transition: none;
}

[data-clip].is-in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.05s var(--ease);
}

@media (max-width: 860px) {
  .mercato__grid { grid-template-columns: 1fr; }
  .mercato__figure { order: -1; max-width: 28rem; }
}

/* ── Menu vivo ── */
.menu-vivo {
  background: var(--bg-mist);
}

.menu__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.menu__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--sand);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.menu__tab.is-active,
.menu__tab:hover {
  background: var(--sea);
  border-color: var(--sea);
  color: var(--foam);
}

.menu__panel { display: none; }
.menu__panel.is-active { display: block; }

.menu__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  min-width: 0;
}

.menu__group-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: var(--sea);
}

.menu__accent {
  display: inline-block;
  width: 1.5rem;
  height: 3px;
  background: var(--amber);
}

.menu__item {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px dashed var(--line);
}

.menu__item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.menu__item-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.menu__item-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.menu__item-dots {
  flex: 1;
  border-bottom: 1px dotted var(--sand-light);
  opacity: 0.45;
  min-width: 1.5rem;
  transform: translateY(-0.25rem);
}

.menu__item-price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--sea-mid);
  white-space: nowrap;
}

.menu__item-desc {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
  color: var(--sand);
}

.menu__footer-note {
  margin: 2.5rem 0 0;
  font-size: var(--text-xs);
  color: var(--sand-light);
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .menu__cols { grid-template-columns: 1fr; }
}

/* ── Gallery ── */
.gallery {
  background: var(--bg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.gallery__cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-mist);
}

.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.8s var(--ease);
}

.gallery__cell--wide {
  grid-column: 1 / -1;
}

.gallery__cell--wide img {
  aspect-ratio: 21 / 9;
}

.gallery__cell figcaption {
  position: absolute;
  bottom: 0.75rem;
  left: 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foam);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.gallery__cell:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .gallery__cell--wide {
    grid-column: span 2;
  }

  .gallery__cell:not(.gallery__cell--wide) img {
    aspect-ratio: 3 / 4;
  }

  .gallery__cell--wide img {
    aspect-ratio: 16 / 10;
  }
}

/* ── Chef ── */
.chef {
  background: var(--bg-mist);
}

.chef__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.chef__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.chef__figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.chef__figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(7, 42, 64, 0.7));
  color: var(--foam);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chef__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--sea);
}

.chef__title em {
  font-style: italic;
  color: var(--sea-mid);
}

.chef__lead {
  margin: 0 0 1.5rem;
  font-size: var(--text-lg);
  color: var(--sand);
  line-height: 1.55;
}

.chef__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.chef__list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--sand);
}

.chef__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--amber);
  border-radius: 50%;
}

.chef__list strong {
  color: var(--sea);
  font-weight: 600;
}

.chef__note {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--sea);
  color: rgba(250, 248, 244, 0.9);
  font-size: var(--text-sm);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .chef__grid { grid-template-columns: 1fr; }
  .chef__figure { max-width: 26rem; }
}

/* ── Esperienza — deep blue band ── */
.esperienza {
  padding: clamp(4.5rem, 11vw, 8rem) 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(18, 90, 138, 0.45), transparent),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(232, 168, 56, 0.12), transparent),
    var(--sea);
  color: var(--foam);
}

.esperienza__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.esperienza__title em {
  font-style: italic;
  color: var(--amber);
}

.esperienza__lead {
  margin: 0;
  max-width: 34rem;
  font-size: var(--text-lg);
  color: rgba(250, 248, 244, 0.78);
}

.esperienza__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.esperienza__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.esperienza__item {
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.esperienza__item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.esperienza__hours {
  margin: 0 0 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.esperienza__item p:last-child {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(250, 248, 244, 0.78);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .esperienza__grid { grid-template-columns: 1fr; }
}

/* ── Visita ── */
.visita {
  background: var(--bg);
}

.visit__map-wrap {
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.visit__map {
  width: 100%;
  height: clamp(260px, 42vw, 420px);
  background: var(--bg-mist);
}

.visit__marker {
  width: 28px;
  height: 36px;
}

.visit__marker span {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  background: var(--amber);
  border: 3px solid var(--sea);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 10px rgba(11, 61, 92, 0.35);
}

.visit__map-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  background: var(--sea);
  color: var(--foam);
  font-size: var(--text-sm);
}

.visit__map-caption a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
}

.visit__map-caption a:hover { text-decoration: underline; }

.maplibregl-ctrl-attrib-button {
  min-width: 24px !important;
  min-height: 24px !important;
}

p a,
li a,
address a,
figcaption a,
.visit__card a,
.visit__map-caption a,
.orari__note a,
.visit__reserve a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.visit__layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 1.25rem;
  min-width: 0;
}

.visit__card {
  padding: 1.5rem;
  background: var(--bg-mist);
  border-top: 3px solid var(--sea-mid);
}

.visit__card h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sea);
}

.visit__card address {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--sand);
  line-height: 1.65;
}

.visit__hours {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: var(--text-sm);
  color: var(--sand);
  border-bottom: 1px solid var(--line);
}

.visit__hours li:last-child { border-bottom: none; }

.visit__hours li span:first-child {
  font-weight: 600;
  color: var(--ink);
}

.visit__reserve {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--sea);
  color: var(--foam);
}

.visit__reserve h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.visit__reserve p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(250, 248, 244, 0.75);
}

.visit__phone {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  font-style: italic;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}

.visit__phone:hover { color: var(--foam); }

@media (max-width: 860px) {
  .visit__layout { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq__list {
  border-top: 1px solid var(--line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--line-strong);
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  text-align: left;
  color: var(--sea);
  transition: color 0.25s;
}

.faq__trigger:hover { color: var(--sea-mid); }

.faq__icon {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--amber);
  transition: transform 0.35s var(--ease);
}

.faq__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq__item.is-open .faq__body {
  grid-template-rows: 1fr;
}

.faq__body-inner {
  overflow: hidden;
}

.faq__body-inner p {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  font-size: var(--text-sm);
  color: var(--sand);
  line-height: 1.6;
}

/* ── Mobile bar ── */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
  display: none;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.mobile-bar.is-visible { transform: translateY(0); }

.mobile-bar__call,
.mobile-bar__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.mobile-bar__call {
  flex: 1;
  background: var(--sea);
  color: var(--foam);
}

.mobile-bar__menu {
  background: var(--amber);
  color: var(--sea-deep);
}

@media (max-width: 768px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 4.5rem; }
}

/* ── Footer ── */
.site-footer {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--sea-deep);
  color: var(--foam);
  overflow: hidden;
}

.site-footer__mark {
  position: absolute;
  bottom: -0.15em;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.site-footer__brand span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(250, 248, 244, 0.6);
}

.site-footer__col h3 {
  margin: 0 0 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.site-footer__col a,
.site-footer__col p {
  display: block;
  margin: 0 0 0.4rem;
  font-size: var(--text-sm);
  color: rgba(250, 248, 244, 0.75);
  text-decoration: none;
}

.site-footer__col a:hover { color: var(--amber); }

.site-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: rgba(250, 248, 244, 0.45);
}

@media (max-width: 700px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-clip],
  .hero__media,
  [data-reveal],
  [data-reveal-hero],
  [data-hero-line] {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .marquee__track {
    animation: none;
    transform: none !important;
  }

  .cursor { display: none !important; }
}

html.is-reduced [data-clip],
html.is-reduced .hero__media,
html.is-reduced [data-reveal],
html.is-reduced [data-reveal-hero],
html.is-reduced [data-hero-line],
html.is-reduced [data-hero-line] span {
  clip-path: none !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

html.is-reduced .cursor {
  display: none !important;
}

html.js [data-reveal]:not([data-reveal-hero]) {
  opacity: 0;
}

html.js.calma [data-reveal],
html.is-reduced [data-reveal] {
  opacity: 1;
}

/* ── Nastro di finzione ── */
.nastro {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  margin: 0;
  min-height: 24px;
  background: var(--amber);
  color: var(--sea-deep);
}

.nastro a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  min-height: 24px;
  padding: 0.4rem var(--gutter);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  line-height: 1.35;
  white-space: normal;
}

.nastro__eti {
  padding: 0.12rem 0.4rem;
  background: var(--sea-deep);
  color: var(--amber);
  letter-spacing: 0.1em;
}

.site-header {
  top: 2.55rem;
}

@media (max-width: 700px) {
  .site-header { top: 3.15rem; }
}

.site-nav a,
.site-footer__col a,
.hero__text-link,
.menu__tab,
.overlay-nav__link {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
}

/* ── Percorso mercato → cucina ── */
.percorso {
  margin: 1.6rem 0 0;
  max-width: 32rem;
}

.percorso__svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--sea);
}

.percorso__svg text {
  font-family: var(--font-body);
  font-size: 10px;
  fill: var(--sand);
  stroke: none;
}

.percorso figcaption {
  margin-top: 0.45rem;
  font-size: var(--text-xs);
  color: var(--sand);
}

/* ── Orari ── */
.orari__layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .orari__layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.tabella-orari {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.tabella-orari caption {
  caption-side: top;
  text-align: left;
  margin-bottom: 0.7rem;
  font-size: var(--text-xs);
  color: var(--sand);
}

.tabella-orari th,
.tabella-orari td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.tabella-orari th[scope="col"] {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea);
}

.orari__note h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sea);
}

.orari__note h3 + p {
  margin: 0 0 1.15rem;
  font-size: var(--text-sm);
  color: var(--sand);
}

/* ── FAQ details ── */
.faq__item {
  border-bottom: 1px solid var(--line-strong);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--sea);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(225deg);
}

.faq__item p {
  margin: 0 0 1.15rem;
  max-width: 42rem;
  font-size: var(--text-sm);
  color: var(--sand);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .hero__fish-wrap {
    width: min(70vw, 16rem);
    opacity: 0.7;
  }
}
