/* Nonna’s Slice — Food station demo · tomato / herb / cream / charcoal */
:root {
  --tomato: #C43C2C;
  --tomato-deep: #9A2E22;
  --herb: #3D6B4F;
  --herb-soft: #E8F2EB;
  --cream: #FFF8F2;
  --cream-card: #FFFEFB;
  --charcoal: #1C1A18;
  --ink: #1C1A18;
  --muted: #5C5650;
  --border: #E8DFD4;
  --ok: #2F6B3E;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 960px;
  --pad: max(1.25rem, env(safe-area-inset-left, 0px));
  --pad-r: max(1.25rem, env(safe-area-inset-right, 0px));
  --shadow: 0 10px 28px rgba(28, 26, 24, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 5.5rem;
}

.wrap {
  width: min(100% - var(--pad) - var(--pad-r), var(--wrap));
  margin-inline: auto;
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(196, 60, 44, 0.45);
  outline-offset: 2px;
}

/* Nav */
.ns-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 242, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.ns-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.45rem 0;
}
.ns-logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
}
.ns-logo span { color: var(--tomato); }
.ns-nav nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ns-nav nav > a:not(.btn) {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 560px) {
  .ns-nav nav > a:not(.btn) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.btn-call {
  background: var(--charcoal);
  color: #fff;
}
.btn-call:hover { background: #2a2622; }
.btn-order {
  background: var(--tomato);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 60, 44, 0.28);
}
.btn-order:hover { background: var(--tomato-deep); }
.btn-block { width: 100%; margin-top: 0.55rem; }

/* Compact hero — Elysian client standard */
section.hero.photo-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  min-height: 0;
  height: clamp(220px, 32vh, 320px);
  max-height: 320px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* .hero-photo retired — real photo via .hero-bg img */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,15,18,.82) 0%, rgba(14,15,18,.45) 42%, rgba(14,15,18,.15) 68%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.35rem 0 1.25rem;
  max-width: 32rem;
}
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5c9a8;
}
.photo-hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
  line-height: 1.15;
}
.lede {
  color: rgba(245,245,244,.9);
  max-width: 34rem;
  font-size: 0.95rem;
  margin: 0;
}
.hero-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 720px) {
  section.hero.photo-hero {
    height: auto;
    min-height: 240px;
    max-height: none;
  }
  .hero-content { padding: 1.25rem 0 1.15rem; max-width: none; }
  
}

/* Sections */
.pad { padding: 2.25rem 0; }
.pad.soft { background: #FFF3EA; }
.section-label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tomato);
}
h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  letter-spacing: -0.025em;
}
.muted { color: var(--muted); margin: 0 0 1rem; }

.menu-grid, .review-cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 860px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.05rem;
  box-shadow: var(--shadow);
  margin: 0;
}
.card.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.45rem;
  border-radius: 12px;
  background: var(--herb-soft);
  font-size: 1.15rem;
  line-height: 1;
}
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.hours-row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .hours-row { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.hours-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.hours-list span { color: var(--muted); }
.area { color: var(--muted); font-size: 0.92rem; margin: 0; }

.order-panel {
  background: var(--charcoal);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}
.order-panel h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.order-panel p { margin: 0 0 0.85rem; color: rgba(255,255,255,.82); font-size: 0.92rem; }
.order-panel .btn-call {
  background: #fff;
  color: var(--charcoal);
}
.order-panel .microcopy {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 220, 200, 0.88);
}

.review-cards .card footer {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--herb);
}
.review-cards .card p {
  color: var(--ink);
  font-size: 0.95rem;
}

.form-card {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.form-card label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 650;
}
.form-card input,
.form-card textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.form-ok { color: var(--ok); margin: 0.35rem 0 0; font-size: 0.9rem; }

.ns-footer {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.ns-footer strong { color: var(--ink); }
.ns-footer a { color: var(--tomato); font-weight: 600; }
.by { font-size: 0.8rem; color: var(--muted); }

.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem max(0.85rem, env(safe-area-inset-left)) calc(0.65rem + env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-right));
  background: rgba(255, 248, 242, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.sticky .btn { flex: 1; }
@media (min-width: 860px) {
  .sticky { display: none; }
  body { padding-bottom: 0; }
}
