/* =====================================================================
   BABO HAIR — shared brand tokens
   Real brand fonts (self-hosted) + the moodboard palette.
   Each design layers its own layout/type treatment on top of these.
   ===================================================================== */

@font-face {
  font-family: "DS Narrow";
  src: url("fonts/DSNarXC.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("fonts/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* --- Brand palette (exact from B.A.B.O brand-moodboard) --- */
  --obsidian:  #121627;  /* Midnight Obsidian */
  --merlot:    #4d2d3e;  /* Velvet Merlot     */
  --rosewood:  #846a74;  /* Smoked Rosewood   */
  --limestone: #d7cbc3;  /* Limestone         */
  --ivory:     #ede6dd;  /* Ivory             */
  --white:     #ffffff;

  /* Derived tints */
  --merlot-90: #5a3a4b;
  --merlot-12: rgba(77,45,62,.12);
  --rosewood-40: rgba(132,106,116,.40);
  --ink:       #1c1a1d;       /* near-black text on white */
  --ink-soft:  #6b626a;       /* muted body */
  --line:      rgba(28,26,29,.14);

  --font-display: "DS Narrow", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Gotham", "Century Gothic", "Avenir Next", system-ui, sans-serif;
}

/* --- Reset / base shared by all design pages --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Accessible focus ring (shared quality floor) */
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--merlot);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
