/* ===========================================================
   METÓDICO BAR — base.css
   Tokens, tipografías y motor de escalado híbrido.
   =========================================================== */

/* ---- Tipografías locales ---- */
@font-face{font-family:"Nord";src:url("../fonts/NORD-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Nord";src:url("../fonts/NORD-Book.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:"Neue Haas";src:url("../fonts/NeueHaasDisplay-Light.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:"Neue Haas";src:url("../fonts/NeueHaasDisplayRoman.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Neue Haas";src:url("../fonts/NeueHaasDisplay-Mediu.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:"Neue Haas";src:url("../fonts/NeueHaasDisplayBold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap;}

/* ---- Tokens ---- */
:root{
  --red:#e30517;      /* acento hero */
  --olive:#6d6834;    /* Conócenos */
  --mustard:#efb64c;  /* Carta */
  --rust:#aa351a;     /* Eventos / Reservas */
  --black:#0a0a0a;
  --ink:#111;
  --cream:#faf7f2;
  --white:#fff;

  /* Motor de escalado híbrido: --u = tamaño real de 1px del diseño (base 1920).
     A 1920px de ancho, 1u = 1px exacto. Acotado con clamp para no crecer/encoger sin límite. */
  --u: clamp(0.52px, calc(100vw / 1920), 1.15px);

  --lh: 1.28; /* line-height real del Figma */
}
@media (max-width:900px){
  :root{ --u: clamp(0.62px, calc(100vw / 402), 1.35px); } /* base mobile 402 */
}

/* Helper: 1rem = 16px del diseño (para tipografía en rem si se prefiere) */
html{ font-size: calc(16 * var(--u)); }

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{ -webkit-text-size-adjust:100%; }
body{
  font-family:"Neue Haas", Arial, Helvetica, sans-serif;
  font-weight:400; color:var(--ink); background:var(--black);
  line-height:var(--lh); overflow-x:clip;
}
img,video{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }

/* Utilidad: caja centrada por sección con el padding lateral del diseño (~67px) */
.wrap{ width:100%; padding-inline: calc(67 * var(--u)); }

/* Texto con tracking amplio (labels tipo diseño: 10% Figma = .1em) */
.tracked{ letter-spacing:.1em; }
