/* ==========================================================================
   MASTERCHEF STEAK HOUSE — grill-house industrial
   Warm concrete canvas + single grill-red accent + charcoal grill bands.
   Anton (condensed poster caps) / IBM Plex Sans / IBM Plex Mono.
   Radius 0 everywhere. Mobile-first (390px), light theme locked.
   ========================================================================== */

:root {
  --bg: #ebe6db;            /* warm concrete canvas (raw stone wall) */
  --surface: #f5f1e8;       /* menu-paper card */
  --band: #e1dbcd;          /* alternating band */
  --ink: #1c1a17;           /* near-black warm (steel frames / walnut) */
  --muted: #625c51;         /* secondary text (AA on all light surfaces) */
  --line: #cdc6b6;          /* hairlines */
  --accent: #c23127;        /* grill red — large headers + rules only */
  --accent-strong: #a82219; /* grill red for links/prices/buttons (AA on light) */
  --accent-hover: #8c1a12;
  --accent-ink: #f6f2ea;    /* text on red */
  --dark: #211d18;          /* charcoal-walnut (grill band + footer) */
  --dark-text: #ece5d8;
  --dark-muted: #aca291;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --measure: 64ch;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

/* -- type ------------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 4vw, 1.7rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 500;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 1.25rem; }

/* -- top bar --------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { display: flex; align-items: baseline; gap: 0.5rem; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; color: var(--ink); }
.brand-tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* -- buttons --------------------------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.72rem 1.3rem; border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.topbar-cta {
  text-decoration: none; font-family: var(--font-mono); font-weight: 500;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-strong); color: var(--accent-ink);
  padding: 0.5rem 0.95rem; border: 1.5px solid var(--accent-strong);
  transition: background-color 0.15s ease;
  white-space: nowrap;
}
.topbar-cta:hover { background: var(--accent-hover); color: var(--accent-ink); }

/* -- hero ------------------------------------------------------------------ */
.hero { padding: clamp(3rem, 9vh, 5.5rem) 0 clamp(2.5rem, 6vh, 4rem); }
.hero .eyebrow { display: block; margin-bottom: 1.1rem; }
.hero h1 {
  font-size: clamp(3.1rem, 15vw, 8rem);
  letter-spacing: 0.01em;
}
.hero h1 .line2 { color: var(--accent); }
.hero-rule { width: 96px; height: 9px; background: var(--accent); margin: 1.4rem 0 1.5rem; }
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--muted); max-width: 34ch; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* -- full-bleed photo band ------------------------------------------------- */
.food-band { border-block: 3px solid var(--ink); }
.food-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.food-band figcaption {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  padding: 0.7rem 1.25rem; background: var(--surface);
  border-top: 1px solid var(--line);
}
.food-band figcaption b { color: var(--accent-strong); font-weight: 600; }
@media (min-width: 760px) {
  .food-band img { aspect-ratio: 21 / 9; max-height: 520px; }
}

/* -- dark grill statement band --------------------------------------------- */
.grill {
  background: var(--dark); color: var(--dark-text);
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vh, 6rem) 0;
}
.grill::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 118%, rgba(194,49,39,0.38), transparent 62%);
  pointer-events: none;
}
.grill .wrap { position: relative; text-align: center; max-width: 46ch; }
.grill h2 { color: var(--dark-text); font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
.grill p { color: var(--dark-muted); margin-top: 1rem; font-size: 1.1rem; }
.grill .rating {
  display: inline-block; margin-top: 1.8rem;
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dark-text);
  border: 1px solid rgba(236,229,216,0.28); padding: 0.5rem 1rem;
}
.grill .rating b { color: #ef6a4d; font-weight: 500; }

/* -- section shell --------------------------------------------------------- */
.section { padding: clamp(3rem, 7vh, 5rem) 0; }
.section--band { background: var(--band); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { border-left: 9px solid var(--accent); padding-left: 0.9rem; }

/* -- menu: le carni feature ------------------------------------------------ */
.carni {
  background: var(--surface); border: 3px solid var(--ink);
  display: grid; gap: 0; margin-bottom: 2.5rem;
}
.carni-text { padding: clamp(1.4rem, 4vw, 2.2rem); }
.carni-text h3 { color: var(--ink); margin-bottom: 0.8rem; }
.carni-text p { color: var(--muted); max-width: 52ch; }
.carni-gala {
  margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.carni-gala .tag {
  font-family: var(--font-display); color: var(--accent-strong);
  font-size: 1.15rem; letter-spacing: 0.02em;
}
.carni figure { border-top: 1px solid var(--line); }
.carni img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 760px) {
  .carni { grid-template-columns: 1.35fr 1fr; }
  .carni figure { border-top: 0; border-left: 1px solid var(--line); height: 100%; }
  .carni img { height: 100%; aspect-ratio: auto; }
}

/* -- menu: lists ----------------------------------------------------------- */
.menu-grid { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 760px) { .menu-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.menu-col { display: grid; gap: 2.5rem; align-content: start; }

.menu-group h3 {
  color: var(--accent); font-size: 1.5rem;
  padding-bottom: 0.5rem; border-bottom: 3px solid var(--accent);
  margin-bottom: 0.9rem;
}
.menu-list { list-style: none; padding: 0; }
.menu-list li { padding: 0.62rem 0; border-bottom: 1px solid var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.menu-row { display: flex; align-items: baseline; gap: 0.75rem; }
.dish { font-weight: 600; letter-spacing: 0.01em; }
.dots { flex: 1 1 auto; }
.price {
  font-family: var(--font-mono); font-weight: 500; color: var(--accent-strong);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.desc { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.menu-note {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.03em;
  color: var(--muted);
}

/* -- la sala --------------------------------------------------------------- */
.sala-grid { display: grid; gap: 2rem; }
.sala-copy p { color: var(--muted); max-width: 54ch; margin-bottom: 1.1rem; }
.sala-copy .pull {
  border-left: 4px solid var(--accent); padding-left: 1rem;
  color: var(--ink); font-size: 1.05rem;
}
.sala-copy .pull cite {
  display: block; margin-top: 0.5rem; font-style: normal;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.sala-media { display: grid; gap: 1rem; }
.sala-media img { width: 100%; object-fit: cover; }
.sala-media .portrait { aspect-ratio: 4 / 3; }   /* mobile: no towering */
.sala-media .wide { aspect-ratio: 3 / 2; }
@media (min-width: 760px) {
  .sala-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; }
  .sala-media { grid-template-columns: 1fr 1fr; }
  /* two equal-height images side by side, no empty cell */
  .sala-media img { height: 320px; aspect-ratio: auto; }
}

/* -- orari & dove ---------------------------------------------------------- */
.info-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; max-width: 22rem; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours td:first-child {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.82rem; color: var(--ink); width: 4.5rem;
}
.hours td:last-child { color: var(--muted); text-align: right; }
.hours tr.is-today td { color: var(--accent-strong); font-weight: 600; }
.hours tr.is-today td:first-child { color: var(--accent-strong); }
.hours tr.is-today td:last-child::after {
  content: " · oggi"; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
}
.contact p { margin-bottom: 1.3rem; line-height: 1.9; }
.contact .addr { color: var(--ink); }
.contact a { font-weight: 500; }
.verify { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

/* -- footer ---------------------------------------------------------------- */
.footer { background: var(--dark); color: var(--dark-muted); padding: 3rem 0; }
.footer .wrap { display: grid; gap: 0.9rem; }
.footer .brand-name { color: var(--dark-text); font-size: 2rem; }
.footer .brand-tag { color: var(--dark-muted); }
.footer a { color: var(--dark-text); }
.footer .foot-meta { font-size: 0.9rem; }
.demo-note { font-family: var(--font-mono); font-size: 0.74rem; color: var(--dark-muted); opacity: 0.8; margin-top: 0.6rem; }

/* -- motion (CSS only, gated) ---------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero > .wrap > * { animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero .eyebrow { animation-delay: 0.02s; }
  .hero h1 { animation-delay: 0.08s; }
  .hero-rule { animation-delay: 0.16s; }
  .hero-sub { animation-delay: 0.22s; }
  .hero-actions { animation-delay: 0.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
