/* Mylo design tokens — from _ds/mylo-design-system.
   Display: Cooper BT real (la del manual de marca), self-hosted abajo en woff2
   subseteado. Fredoka queda como fallback mientras carga. El resto vía <link>
   en index.html (Montserrat, Archivo Black, Caveat — sustitutos de
   Proxima Nova / Heavy 8 / Bristol). */

@font-face {
  font-family: "Cooper BT";
  src: url("../assets/fonts/cooper-lt.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../assets/fonts/cooper-md.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cooper BT";
  src: url("../assets/fonts/cooper-blk.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Core brand ---- */
  --mylo-terracotta: #DD613D; /* logo / primary */
  --mylo-brick: #A64D27;      /* deep press/ink tone */
  --mylo-sage: #758966;
  --mylo-cream: #F4E7C4;
  --mylo-forest: #10251C;     /* near-black green */

  /* ---- Extended neutrals ---- */
  --mylo-paper: #FBF6EA;
  --mylo-linen: #F0E4CE;
  --mylo-clay-100: #F7DED4;
  --mylo-clay-200: #EFC0AE;
  --mylo-sage-100: #DDE3D6;
  --mylo-sage-200: #A9B79B;
  --mylo-sage-700: #4E5C42;
  --mylo-forest-700: #1E3A2D;
  --mylo-forest-300: #5C7466;
  --mylo-ink: #20120C;
  --mylo-ink-60: rgba(32, 18, 12, .60);
  --mylo-ink-30: rgba(32, 18, 12, .30);
  --mylo-ink-12: rgba(32, 18, 12, .12);
  --mylo-white: #FFFFFF;

  /* ---- Type ---- */
  --font-display: "Cooper BT", "Fredoka", "Cooper Black", Georgia, serif;
  --font-text: "Montserrat", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --font-heavy: "Archivo Black", "Heavy 8", Impact, sans-serif;
  --font-hand: "Caveat", "Bristol", cursive;

  --text-3xs: 11px;
  --text-2xs: 12px;
  --text-xs: 13px;
  --text-sm: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 25px;
  --text-2xl: 31px;
  --text-3xl: 39px;
  --text-4xl: 52px;
  --text-5xl: 68px;
  --text-6xl: 92px;
  --text-7xl: 124px;

  --leading-tight: 0.94;
  --leading-snug: 1.12;
  --leading-normal: 1.5;
  --leading-loose: 1.7;

  --tracking-display: -0.02em;
  --tracking-wide: 0.06em;
  --tracking-widest: 0.42em;

  /* ---- Space ---- */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px;  --space-7: 40px; --space-8: 56px;
  --space-9: 72px; --space-10: 96px; --space-11: 128px;
  --gutter-page: 24px;
  --content-max: 1200px;

  /* ---- Radius ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  /* ---- Elevation (warm shadows only) ---- */
  --shadow-xs: 0 1px 2px rgba(32, 18, 12, .06);
  --shadow-sm: 0 2px 6px rgba(32, 18, 12, .08);
  --shadow-md: 0 8px 20px -6px rgba(32, 18, 12, .14);
  --shadow-lg: 0 20px 44px -12px rgba(32, 18, 12, .20);
  --shadow-glow-warm: 0 10px 40px -10px rgba(221, 97, 61, .45);
  --overlay-candle: radial-gradient(120% 80% at 50% 110%, rgba(221, 97, 61, .34) 0%, rgba(16, 37, 28, 0) 62%);
  --overlay-protect: linear-gradient(180deg, rgba(16, 37, 28, 0) 0%, rgba(16, 37, 28, .72) 100%);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-out-soft: cubic-bezier(.16, .84, .44, 1);
  --ease-in-soft: cubic-bezier(.5, 0, .9, .4);
  --ease-warm: cubic-bezier(.34, 1.28, .64, 1);
  --dur-instant: 90ms;
  --dur-fast: 160ms;
  --dur-normal: 240ms;
  --dur-slow: 420ms;
  --dur-ambient: 900ms;
  --transition-control:
    background-color var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-out-soft),
    box-shadow var(--dur-fast) var(--ease-standard);
}
