/* =========================================================
   Sapore è Sapere — Main Stylesheet
   Palette realigned to the logo: cool slate + ivory, with a
   single restrained warm-brass accent (the spark of "sapore").
   Fonts: Cormorant Garamond (serif) + Jost (sans-serif).
   Motion is tasteful and fully respects prefers-reduced-motion.
   ========================================================= */

/* ============ Design Tokens ============ */
:root {
  /* Cool slate base, sampled from the logo (#3a3f48) */
  --bg: #2b3037;            /* deep slate — page background */
  --bg-soft: #343a43;       /* logo slate — cards / surfaces */
  --bg-soft-2: #3e444e;     /* hover / raised surfaces */
  --bg-deep: #23272d;       /* footer / darkest band */

  /* Ivory + cool greys */
  --text: #ece8de;          /* ivory, from the logo wordmark */
  --muted: #a8aeb8;         /* cool secondary text */
  --muted-soft: #8b919b;    /* tertiary / captions */

  /* Single warm accent — muted brass, dialed back from the old gold */
  --brass: #c2a368;
  --brass-soft: #d8bd8b;
  --brass-dim: rgba(194, 163, 104, 0.16);

  /* Hairlines, on cool ivory so they read on slate */
  --line: rgba(236, 232, 222, 0.10);
  --line-strong: rgba(236, 232, 222, 0.20);

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius: 2px;
  --radius-sm: 6px;
  --reserve-h: 64px;        /* height reserved for the sticky bar */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.25s var(--ease);
}

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Make room for the persistent reserve bar */
  padding-bottom: var(--reserve-h);
}

img { max-width: 100%; display: block; height: auto; }

::selection { background: var(--brass); color: var(--bg); }

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

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--text);
}

p { color: var(--muted); line-height: 1.8; font-weight: 300; }

a { color: var(--brass-soft); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brass); }

strong { color: var(--text); font-weight: 600; }

/* ============ Layout Utilities ============ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 40px);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
  max-width: 520px;
  margin: 18px auto 0;
}

.divider {
  width: 56px;
  height: 1px;
  background: var(--brass);
  margin: 20px auto 0;
  border: 0;
  position: relative;
}

/* small diamond on the divider — a quiet decorative beat */
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ============ Scroll Reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger helpers (apply to children or with inline style) */
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ============ Skip Link ============ */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 200;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============ Header & Navigation ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(43, 48, 55, 0.72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
  background: rgba(35, 39, 45, 0.92);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 6vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 62px;
  transition: padding var(--transition);
}
.site-header.is-scrolled .nav { padding-top: 12px; padding-bottom: 12px; }

/* Brand / logo — ivory hexagon with slate "S", matching the real logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 38px;
  background: var(--text);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform var(--transition);
  /* slate "S" on the ivory hexagon — works whether or not it's wrapped in a span */
  font-family: var(--serif);
  color: var(--bg);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.brand:hover .mark { transform: translateY(-1px) scale(1.04); }
.brand .mark span {
  font-family: var(--serif);
  color: var(--bg);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.brand .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.brand .name span { color: var(--brass); font-style: normal; }

/* Mobile toggle */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 8px; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: var(--transition);
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after  { position: absolute; top: 7px; }
.nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
.nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
.nav-toggle:checked ~ .nav-toggle-label span::after  { transform: rotate(-45deg); top: 0; }

/* Nav links */
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brass); }
.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after { width: 100%; }

/* Nav CTA */
.nav-cta {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--brass);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: var(--brass-soft);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(194, 163, 104, 0.25);
}

@media (max-width: 900px) {
  .nav-toggle-label { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(35, 39, 45, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    z-index: 99;
  }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 24px; font-size: 0.88rem; letter-spacing: 0.14em; }
  .nav-toggle:checked ~ .nav-links { max-height: 460px; }
  .nav-cta { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(96px, 17vw, 180px) 0 clamp(72px, 11vw, 128px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(35, 39, 45, 0.78) 0%, rgba(35, 39, 45, 0.92) 100%),
    url("../assets/images/restaurant/restaurant_1.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% -10%, rgba(194, 163, 104, 0.12), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding: 0 clamp(20px, 6vw, 80px); }

/* Hero entrance — sequenced fade-up */
.hero-logo, .hero-eyebrow, .hero h1, .hero .tagline, .hero .btn-row {
  animation: heroRise 0.9s var(--ease) both;
}
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero .tagline { animation-delay: 0.34s; }
.hero .btn-row { animation-delay: 0.48s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 72px;
  background: var(--text);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-bottom: 28px;
}
.hero-logo span { font-family: var(--serif); font-weight: 600; font-size: 38px; color: var(--bg); line-height: 1; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8.5vw, 4.4rem);
  line-height: 1.02;
  color: var(--text);
  margin: 0.25em 0 0.35em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--brass); font-style: normal; }

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3.4vw, 1.9rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.4;
  font-weight: 500;
}

.hero-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 18px;
}

/* ============ Buttons ============ */
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--brass);
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--brass); color: var(--bg); border-color: var(--brass); }
.btn-primary:hover {
  background: var(--brass-soft);
  color: var(--bg);
  border-color: var(--brass-soft);
  box-shadow: 0 12px 28px rgba(194, 163, 104, 0.28);
}

.btn-ghost { background: transparent; color: var(--brass); border-color: rgba(194, 163, 104, 0.5); }
.btn-ghost:hover { background: var(--brass-dim); color: var(--brass-soft); border-color: var(--brass); }

/* ============ Sections ============ */
section { padding: clamp(60px, 9vw, 100px) 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 60px); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.06;
  color: var(--text);
  margin: 0.3em 0 0;
}
.section-head p { color: var(--muted); font-size: 1rem; line-height: 1.6; font-weight: 300; }

.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.prose { max-width: 720px; margin: 0 auto; text-align: center; }
.prose p { font-size: 1.05rem; }

/* ============ Cards ============ */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 36px 30px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.card:hover::before { transform: scaleX(1); }
.card h3 { color: var(--brass); margin: 0 0 0.5em; font-size: 1.28rem; font-family: var(--serif); font-weight: 600; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ============ Feature Box ============ */
.feature-box {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-soft-2));
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  padding: 40px 32px;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 680px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.feature-box h3 { color: var(--brass); margin: 0 0 0.3em; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.feature-box .price { font-family: var(--serif); font-size: 2.2rem; color: var(--text); font-weight: 600; margin: 0.5em 0; }
.feature-box p { color: var(--muted); margin: 0.5em 0 0; font-size: 0.95rem; }

/* ============ Sapere → Sapore (the thesis beat) ============ */
.thesis {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  max-width: 980px;
  margin: 0 auto;
}
.thesis-panel {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.thesis-word {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 18px;
}
.thesis-panel p { color: var(--muted); font-size: 1rem; margin: 0; font-weight: 300; }

/* Connector between the two panels */
.thesis-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 40px;
  height: 40px;
  position: relative;
}
.thesis-arrow::before,
.thesis-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  background: var(--brass);
}
.thesis-arrow::before { left: 4px; right: 12px; height: 1px; transform: translateY(-50%); }
.thesis-arrow::after {
  right: 10px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
  transform: translateY(-50%) rotate(45deg);
}

/* Image panel — flavor made visible */
.thesis-panel--image { padding: 0; min-height: 260px; border-color: var(--line-strong); }
.thesis-panel--image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.thesis-panel--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 39, 45, 0.15) 0%, rgba(35, 39, 45, 0.78) 100%);
}
.thesis-panel--image:hover img { transform: scale(1.05); }
.thesis-word--over {
  position: absolute;
  left: 30px; bottom: 24px;
  z-index: 2;
  margin: 0;
  color: var(--text);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

@media (max-width: 700px) {
  .thesis { flex-direction: column; align-items: stretch; }
  .thesis-arrow { transform: rotate(90deg); margin: 2px auto; }
}

/* ============ Award / Riconoscimenti ============ */
.award {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.award-image { flex: 1 1 280px; min-width: 0; margin: 0; text-align: center; }
.award-image img {
  display: inline-block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.award-text { flex: 1 1 360px; min-width: 0; }
.award-source {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 16px;
}
.award-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 16px;
  padding-left: 22px;
  border-left: 2px solid var(--line-strong);
}
.award-by { font-size: 0.85rem; color: var(--muted-soft); margin: 0; }

/* ============ Restaurant (split) ============ */
.restaurant-content { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 80px); align-items: center; }
.restaurant-text { flex: 1 1 380px; min-width: 0; }
.restaurant-image {
  flex: 1 1 380px;
  min-width: 0;
  min-height: 440px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.restaurant-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.restaurant-image:hover img { transform: scale(1.04); }
.restaurant-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; margin: 0 0 26px; }
.restaurant-text p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin: 0 0 20px; font-weight: 300; }

/* ============ Gallery ============ */
.gallery-section { background: var(--bg-soft); padding: clamp(72px, 10vw, 128px) 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(14px, 2vw, 24px); max-width: 1240px; margin: 0 auto; }
.gallery-item { margin: 0; }
.gallery-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gallery-image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(35, 39, 45, 0.55));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-image-container:hover img { transform: scale(1.06); }
.gallery-image-container:hover::after { opacity: 1; }

/* ============ Chef ============ */
.chef-content { display: flex; flex-wrap: wrap-reverse; gap: clamp(36px, 5vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; }
.chef-image {
  flex: 1 1 360px;
  min-width: 0;
  min-height: 480px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.chef-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.chef-image:hover img { transform: scale(1.03); }
.chef-text { flex: 1 1 380px; min-width: 0; }
.chef-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; margin: 0 0 8px; }
.chef-text .chef-title { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.81rem; color: var(--muted); margin-bottom: 26px; font-weight: 500; }
.chef-text p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin: 0 0 20px; font-weight: 300; }

/* Timeline */
.timeline { max-width: 720px; margin: 48px auto 0; list-style: none; padding: 0; }
.timeline li { position: relative; padding: 0 0 26px 30px; border-left: 1px solid var(--line); margin-left: 10px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; background: var(--brass); border-radius: 50%; box-shadow: 0 0 0 4px var(--brass-dim); }
.timeline strong { color: var(--text); }
.timeline span { color: var(--muted); font-size: 0.9rem; }
.contact-note { font-size: 0.69rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; font-family: var(--sans); }

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 72px) clamp(20px, 6vw, 40px) 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .brand { justify-content: center; margin-bottom: 18px; flex-direction: column; gap: 10px; }
.site-footer .brand .mark { width: 32px; height: 36px; }
.site-footer .brand .name { font-size: 1.3rem; letter-spacing: 0.06em; }
.site-footer .brand .name span { color: var(--brass); }
.footer-contacts { margin: 14px 0; line-height: 1.9; }
.footer-contacts a { color: var(--brass-soft); }
.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 16px 0 4px;
}
.footer-social a {
  color: var(--text);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-social a:hover { color: var(--brass); }
.footer-legal {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
  max-width: 1180px;
  margin: 22px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ============ Persistent Reserve Bar ============ */
.reserve-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  min-height: var(--reserve-h);
  background: rgba(35, 39, 45, 0.94);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 28px);
  flex-wrap: wrap;
  padding: 12px clamp(16px, 5vw, 32px);
  /* entrance */
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.reserve-bar.is-ready { transform: none; }

.reserve-bar__text {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  color: var(--text);
}
.reserve-bar__text em { color: var(--brass); font-style: italic; }

.reserve-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: var(--bg);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.reserve-bar__btn:hover {
  background: var(--brass-soft);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(194, 163, 104, 0.35);
}
.reserve-bar__icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* Gentle attention pulse on the action (motion-safe) */
@media (prefers-reduced-motion: no-preference) {
  .reserve-bar.is-ready .reserve-bar__btn { animation: reservePulse 3.6s ease-in-out 1s infinite; }
  @keyframes reservePulse {
    0%, 92%, 100% { box-shadow: 0 0 0 0 rgba(194, 163, 104, 0.0); }
    96% { box-shadow: 0 0 0 8px rgba(194, 163, 104, 0.18); }
  }
}

/* ============ Inner-page hero lead ============ */
.hero .lead, .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--muted);
  max-width: 640px;
  margin: 14px auto 0;
  line-height: 1.5;
  font-weight: 500;
}

/* ============ Menu list (menu.html) ============ */
.menu-group { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.menu-group h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--brass);
  text-align: center;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.menu-item:last-child { margin-bottom: 0; }
.mi-name { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.mi-name strong { font-family: var(--serif); font-weight: 600; font-size: 1.14rem; color: var(--text); }
.mi-name em { font-style: italic; }
.mi-dots { flex: 1 1 auto; min-width: 18px; align-self: center; border-bottom: 1px dotted var(--line-strong); }
.mi-price { color: var(--brass); font-weight: 500; white-space: nowrap; font-size: 1rem; }
.mi-sub { margin: -12px 0 18px; font-size: 0.82rem; font-style: italic; color: var(--muted-soft); line-height: 1.6; font-weight: 300; }
.note {
  max-width: 760px;
  margin: 8px auto 0;
  font-size: 0.8rem;
  color: var(--muted-soft);
  line-height: 1.7;
  text-align: left;
  font-weight: 300;
}

/* ============ Contact info (contatti.html) ============ */
.info-grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); max-width: 1080px; margin: 0 auto; }
.info-block { flex: 1 1 320px; min-width: 0; }
.info-block h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--text); margin: 0 0 22px; }
.contact-line { display: flex; flex-direction: column; gap: 3px; margin: 0 0 20px; font-size: 0.96rem; color: var(--muted); }
.contact-line strong {
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
}
.contact-line a { color: var(--brass-soft); }
table.hours { width: 100%; border-collapse: collapse; }
table.hours th { text-align: left; font-weight: 400; color: var(--text); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.hours td { text-align: right; color: var(--muted); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; font-weight: 300; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { gap: 32px; }
  .restaurant-content, .chef-content { flex-direction: column; }
  .restaurant-image, .chef-image { min-height: 300px; }
}

@media (max-width: 560px) {
  .reserve-bar { gap: 10px; padding: 10px 14px; }
  .reserve-bar__text { display: none; }      /* keep the bar compact on phones */
  .reserve-bar__btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero { padding: 88px 0 64px; min-height: 76vh; }
  .btn { padding: 14px 24px; font-size: 0.75rem; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reserve-bar { transform: none; }
}

/* ============ Print ============ */
@media print {
  .site-header, .reserve-bar, .skip-link { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  a { color: inherit; text-decoration: underline; }
}
