/* ==========================================================================
   ORSOGHIOTTO PIADINERIA — "signboard poster" direction
   Graphite-black canvas + brand gold + warm cream, oxblood (awning) band.
   Anton (display, condensed signage) + Manrope (body). Sharp 0-radius poster.
   Mobile-first (390px), then scale up.
   ========================================================================== */

:root {
  --bg: #141210;            /* graphite-black canvas (their black card / night sign) */
  --surface: #1e1a12;       /* panels / alternating sections */
  --oxblood: #591a1c;       /* the awning red — band tint ONLY, never text/CTA */
  --oxblood-ink: #f5ead4;   /* cream on oxblood */
  --text: #f5ead4;          /* warm cream */
  --muted: #b8a888;         /* warm taupe secondary */
  --accent: #e6b031;        /* brand gold — the ONE accent */
  --accent-hi: #f4c552;     /* gold hover */
  --accent-ink: #1a1408;    /* text on gold */
  --line: rgba(230, 176, 49, 0.32);   /* gold hairline */
  --line-soft: rgba(245, 234, 212, 0.12);
  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.25rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; }

/* -- rolling-pin (mattarello) mark ---------------------------------------- */
.matt { fill: var(--accent); display: block; }
.matt--sm { width: 46px; height: auto; }
.matt--hero { width: clamp(120px, 30vw, 170px); height: auto; margin: 0 auto 1.1rem; }

/* -- top bar --------------------------------------------------------------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 1.15rem;
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.brand .matt--sm { width: 34px; }
.topbar-cta {
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-ink); background: var(--accent);
  padding: 0.5rem 1.05rem;
}
.topbar-cta:hover { background: var(--accent-hi); color: var(--accent-ink); }

/* -- buttons --------------------------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none; color: var(--text);
  border: 2px solid var(--accent); background: transparent;
  padding: 0.75rem 1.5rem; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--accent-ink); }

/* -- hero (signboard poster) ----------------------------------------------- */
.hero {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: clamp(3rem, 9vh, 5rem) 1.25rem clamp(3rem, 8vh, 4.5rem);
}
.hero-kicker {
  color: var(--muted); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 13vw, 7.5rem);
  color: var(--accent);
  letter-spacing: 0.005em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 0 rgba(0,0,0,0.35);
  overflow-wrap: anywhere;
}
.hero-sub {
  color: var(--text); max-width: 40ch; margin: 0 auto 1.9rem;
  font-size: 1.1rem;
}
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* -- generic section ------------------------------------------------------- */
.section { padding: clamp(3rem, 8vh, 4.5rem) 1.25rem; }
.section > h2 { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

/* -- identity split -------------------------------------------------------- */
.identity {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 2rem; align-items: center;
}
.identity-text p { color: var(--text); max-width: 54ch; }
.marks {
  list-style: none; padding: 0; margin: 1.6rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.marks li {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.04em; color: var(--text);
  padding: 0.7rem 1rem 0 0; margin-right: 1rem;
  border-right: 1px solid var(--line-soft);
}
.marks li:last-child { border-right: 0; }
.identity-photo {
  aspect-ratio: 4 / 5; max-height: 560px; overflow: hidden;
  border: 1px solid var(--line);
}
.identity-photo img { width: 100%; height: 100%; object-fit: cover; }

/* -- full-bleed insegna band ----------------------------------------------- */
.band { padding: 0; position: relative; }
.band img {
  width: 100%; max-height: 78vh; object-fit: cover;
  border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
}
.band-caption {
  max-width: var(--wrap); margin: 0.9rem auto 0; padding: 0 1.25rem;
  color: var(--muted); font-size: 0.9rem;
}

/* -- menu board ("componi la tua piada") ----------------------------------- */
.menu { padding-inline: 1rem; }
.board {
  max-width: var(--wrap); margin: 0 auto;
  background: var(--oxblood); color: var(--oxblood-ink);
  border: 3px solid var(--accent);
  padding: clamp(1.5rem, 5vw, 3rem);
}
.board > h2 { color: var(--accent); }
.board-intro { color: var(--oxblood-ink); margin-bottom: 2rem; opacity: 0.92; }
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  padding: 1.3rem 0; border-top: 1px solid rgba(230,176,49,0.3);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step-n {
  font-family: var(--font-display); font-size: 1.8rem; line-height: 1;
  color: var(--accent); min-width: 1.6ch;
}
.step h3 { color: var(--oxblood-ink); font-size: 1.15rem; }
.chips {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem;
}
.chips span {
  display: inline-block; font-size: 0.9rem; font-weight: 600;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(245,234,212,0.28);
  background: rgba(0,0,0,0.16);
  color: var(--oxblood-ink);
}
.price-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.1rem;
  margin-top: 2rem; padding-top: 1.4rem;
  border-top: 2px solid var(--accent);
}
.price-tag {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.5rem; color: var(--accent); letter-spacing: 0.02em;
}
.price-tag strong { font-weight: 400; }
.price-add { color: var(--oxblood-ink); font-weight: 600; font-size: 0.95rem; }
.menu-note { margin-top: 0.9rem; color: rgba(245,234,212,0.75); font-size: 0.85rem; }

/* -- sfiziosità split ------------------------------------------------------ */
.sfizi {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 2rem; align-items: center;
}
.sfizi-photo {
  aspect-ratio: 3 / 2; overflow: hidden;
  border: 1px solid var(--line);
}
.sfizi-photo img { width: 100%; height: 100%; object-fit: cover; }
.sfizi-text p { color: var(--text); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.tags span {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--accent);
  border: 1px solid var(--line); padding: 0.35rem 0.75rem;
}

/* -- orari & dove ---------------------------------------------------------- */
.dove { background: var(--surface); }
.dove > h2 { max-width: var(--wrap); }
.info-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 2.5rem;
}
.hours { border-collapse: collapse; width: 100%; max-width: 30rem; }
.hours td { padding: 0.5rem 0.5rem 0.5rem 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.hours td:first-child { color: var(--text); font-weight: 600; padding-right: 1.5rem; white-space: nowrap; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--muted); }
.hours tr.is-today td {
  color: var(--accent); font-weight: 700;
  border-bottom-color: var(--line);
}
.hours tr.is-today td:first-child { color: var(--accent); }
.contact-lines { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 2; }
.contact-lines a { font-weight: 600; }

/* -- footer ---------------------------------------------------------------- */
.footer {
  padding: 3rem 1.25rem 3.5rem; text-align: center;
  color: var(--muted); font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.footer .matt--sm { width: 52px; margin: 0 auto 1rem; opacity: 0.85; }
.demo-note { margin-top: 0.6rem; opacity: 0.7; font-size: 0.82rem; }

/* -- desktop --------------------------------------------------------------- */
@media (min-width: 760px) {
  .identity { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .sfizi { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .step { grid-template-columns: auto 1fr; gap: 1.4rem; }
  .step-n { font-size: 2.2rem; }
}

/* Motion is intentionally restrained (hover + active states + today-hours
   highlight). No scroll-driven reveal: keeps every section reliably visible. */
