/* Típico Asador Argentino — demo prototype (No Ordinary). Shared tokens + chrome. */
:root {
  --carbon: #15100d;
  --carbon-2: #211915;
  --carbon-3: #2e241e;
  --crema: #f3e8d6;
  --crema-2: #e7d8bf;
  --tinta: #2a1f19;
  --tinta-suave: #6b5a4c;
  --brasa: #d04a1e;
  --brasa-osc: #a8380f;
  --oro: #e3a83a;
  --celeste: #8fc3e6;
  --linea-osc: rgba(243, 232, 214, .16);
  --linea-clara: rgba(42, 31, 25, .18);
  --f-display: "Fraunces", Georgia, serif;
  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --bar-h: 30px;
  --gutter: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 72px); }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--crema);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: var(--bar-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---- demo bar: deliberately NOT their brand ---- */
.demo-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--bar-h);
  display: block; text-align: center; line-height: var(--bar-h);
  padding: 0 8px;
  background: #d9d9d9; color: #1f1f1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500; font-size: clamp(11px, 2.8vw, 12px);
  letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-bottom: 1px solid #b5b5b5;
}

/* ---- language switch ---- */
html[data-lang="es"] [lang="en"]:not(html),
html[data-lang="en"] [lang="es"]:not(html) { display: none !important; }

.lang {
  display: inline-flex; border: 1px solid currentColor; border-radius: 999px;
  font: 600 13px/1 var(--f-label); letter-spacing: .08em; overflow: hidden;
}
.lang button {
  background: none; border: 0; padding: 7px 11px; cursor: pointer; opacity: .6;
}
.lang button[aria-pressed="true"] { background: var(--crema); color: var(--carbon); opacity: 1; }
.on-light .lang button[aria-pressed="true"] { background: var(--tinta); color: var(--crema); }

/* ---- "a confirmar" placeholders ---- */
.tbc {
  outline: 1.5px dashed var(--oro);
  outline-offset: 3px;
  border-radius: 2px;
}
.tbc-tag {
  display: inline-block;
  font: 600 11px/1.3 var(--f-label);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--oro);
  border: 1px dashed var(--oro);
  border-radius: 3px;
  padding: 1px 5px;
  vertical-align: middle;
  white-space: nowrap;
}
.on-light .tbc { outline-color: #b0761a; }
.on-light .tbc-tag { color: #8a5a10; border-color: #b0761a; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  font: 600 17px/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-brasa { background: var(--brasa); color: #fff7ee; }
.btn-brasa:hover { background: var(--brasa-osc); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(243, 232, 214, .08); }
.btn:focus-visible, .lang button:focus-visible, a:focus-visible { outline: 2px solid var(--celeste); outline-offset: 3px; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 120;
  transform: translate(-50%, 140%);
  width: min(92vw, 440px);
  background: #fafafa; color: #1f1f1f;
  font: 500 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 14px 16px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .25s ease;
}
.toast.show { transform: translate(-50%, 0); }

/* ---- wordmark (provisional) ---- */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.wordmark b {
  font: 800 28px/0.9 var(--f-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -.01em;
}
.wordmark small {
  font: 600 11px/1 var(--f-label); letter-spacing: .32em; text-transform: uppercase;
  margin-top: 5px; opacity: .85;
}

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