/* La Parrilla — asador & bar
   Warm, low-chroma palette: charcoal, ember orange, bone. */

:root {
  --charcoal: #17130f;
  --charcoal-soft: #221c16;
  --charcoal-line: #362c23;
  --bone: #f4ede3;
  --bone-dim: #b8ac9c;
  --ember: #e2622a;
  --ember-bright: #f5843f;
  --ash: #8a7d6d;
  --amber: #f0b429;

  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max: 1100px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; }

/* ---------- Work-in-progress banner ---------- */

.wip-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: repeating-linear-gradient(
    45deg,
    var(--amber) 0 18px,
    #d99e1f 18px 36px
  );
  color: #2b1d02;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.wip-banner strong { font-weight: 600; }
.wip-sep { opacity: 0.5; }

.wip-cone {
  font-size: 1.05rem;
  animation: cone-nudge 2.8s ease-in-out infinite;
}

@keyframes cone-nudge {
  0%, 88%, 100% { transform: rotate(0deg); }
  92%           { transform: rotate(-9deg); }
  96%           { transform: rotate(9deg); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90rem 40rem at 78% -12%, rgba(226, 98, 42, 0.30), transparent 62%),
    radial-gradient(50rem 30rem at 8% 108%, rgba(240, 180, 41, 0.12), transparent 60%),
    var(--charcoal);
  border-bottom: 1px solid var(--charcoal-line);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(244, 237, 227, 0.045) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

.nav {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-flame { filter: saturate(1.2); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--bone-dim);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-links a:hover {
  color: var(--bone);
  border-bottom-color: var(--ember);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--ember-bright);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.lede {
  margin: 1.6rem 0 0;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--bone-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--ember);
  color: #fff;
}

.btn-primary:hover:not(.is-disabled) {
  background: var(--ember-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--charcoal-line);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--ash);
  transform: translateY(-1px);
}

/* Reservations aren't built yet — the button says so rather than 404-ing. */
.btn.is-disabled {
  background: var(--charcoal-soft);
  color: var(--ash);
  border-color: var(--charcoal-line);
  cursor: not-allowed;
}

.btn-tag {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.16);
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head { margin-bottom: 2.75rem; }

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  letter-spacing: -0.015em;
}

.section-sub {
  margin: 0.6rem 0 0;
  color: var(--ash);
  font-size: 0.97rem;
}

/* ---------- Menu ---------- */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.5rem 2.5rem;
}

.dish {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--charcoal-line);
}

.dish-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.dish h3 {
  font-size: 1.07rem;
  font-weight: 600;
}

/* Dotted leader between dish and price, the way a printed menu sets it. */
.dish-head::after {
  content: "";
  flex: 1;
  height: 0;
  border-bottom: 1px dotted var(--charcoal-line);
  transform: translateY(-3px);
}

.dish-head .price {
  order: 3;
  color: var(--ember-bright);
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  white-space: nowrap;
}

.dish p {
  margin: 0.5rem 0 0;
  color: var(--ash);
  font-size: 0.91rem;
  line-height: 1.55;
}

/* ---------- Hours / address ---------- */

.section-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 3.5rem;
  border-top: 1px solid var(--charcoal-line);
}

.split-col h2 { margin-bottom: 1.6rem; }

.hours {
  margin: 0;
  font-size: 0.95rem;
}

.hours > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--charcoal-line);
}

.hours dt { color: var(--bone-dim); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .closed dt,
.hours .closed dd { color: var(--ash); font-style: italic; }

address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--bone-dim);
  line-height: 1.9;
}

address a {
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--charcoal-line);
}

address a:hover { border-bottom-color: var(--ember); }

.note {
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--ember);
  color: var(--ash);
  font-size: 0.9rem;
}

/* ---------- Work-in-progress panel ---------- */

.wip-panel {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 6rem;
  text-align: center;
}

.wip-panel-icon {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wip-panel p {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--ash);
  font-size: 0.97rem;
}

.progress {
  height: 6px;
  margin: 2.25rem 0 0.75rem;
  border-radius: 999px;
  background: var(--charcoal-soft);
  border: 1px solid var(--charcoal-line);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember), var(--amber));
}

.progress-label {
  margin: 0;
  color: var(--ash);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.footer {
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--charcoal-line);
  background: var(--charcoal-soft);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-legal {
  margin: 0.4rem 0 0;
  color: var(--ash);
  font-size: 0.85rem;
}

/* Build/environment provenance, filled in by the inline script. */
.build {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  color: var(--ash);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.build code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  color: var(--bone-dim);
}

.chip {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--charcoal-line);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chip-dev  { color: #6fb3d2; border-color: rgba(111, 179, 210, 0.35); }
.chip-test { color: var(--amber); border-color: rgba(240, 180, 41, 0.35); }
.chip-prod { color: #6dbf7a; border-color: rgba(109, 191, 122, 0.35); }

/* ---------- Motion / small screens ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 620px) {
  .nav { padding: 1.2rem 1.25rem; }
  .nav-links { gap: 1.1rem; font-size: 0.84rem; }
  .hero-inner { padding: 3rem 1.25rem 4rem; }
  .section { padding: 3.5rem 1.25rem; }
  .section-split { gap: 2.5rem; }
}
