/* ============================================================
   AGÁW · Colors & Type
   ------------------------------------------------------------
   Brand: AGÁW
   Primary palette: deep brand red (#B5282A) + vivid signal red (#F23016)
   Type: Bricolage Grotesque (variable: opsz, wdth, wght)
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/BricolageGrotesque-VariableFont.ttf") format("truetype-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- Brand Colors ---------- */
  --agaw-red:        #B5282A;   /* deep brand red — primary */
  --agaw-flame:      #F23016;   /* signal flame — accent / energy */
  --agaw-ember:      #7A1517;   /* darker brand shade for press / depth */
  --agaw-blush:      #FBE3DF;   /* tint for surfaces, highlights */

  /* ---------- Neutrals (warm) ---------- */
  --ink-1000:        #0F0F10;
  --ink-900:         #1A1A1C;
  --ink-700:         #3A3A3D;
  --ink-500:         #6B6B70;
  --ink-300:         #B5B5B8;
  --ink-200:         #DDDCD8;
  --ink-100:         #ECEAE4;
  --ink-50:          #F4F1EB;
  --paper:           #FAF8F4;
  --white:           #FFFFFF;

  /* ---------- Semantic ---------- */
  --fg-1:            var(--ink-1000);
  --fg-2:            var(--ink-700);
  --fg-3:            var(--ink-500);
  --fg-on-brand:     var(--paper);
  --fg-on-dark:      var(--paper);

  --bg-1:            var(--paper);
  --bg-2:            var(--ink-50);
  --bg-3:            var(--ink-100);
  --bg-inverse:      var(--ink-1000);

  --border-1:        var(--ink-200);
  --border-2:        var(--ink-300);
  --border-strong:   var(--ink-1000);

  --brand:           var(--agaw-red);
  --brand-hover:     var(--agaw-ember);
  --brand-press:     #5E0E10;
  --accent:          var(--agaw-flame);

  --success:         #2F7A4D;
  --warning:         #C68A1C;
  --danger:          var(--agaw-flame);
  --info:            #2B5C8A;

  /* ---------- Spacing scale (4pt base) ---------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* ---------- Radii ---------- */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-xl:   22px;
  --radius-pill: 999px;

  /* ---------- Shadows (warm tinted) ---------- */
  --shadow-1: 0 1px 2px rgba(15, 15, 16, 0.06);
  --shadow-2: 0 2px 6px rgba(15, 15, 16, 0.08), 0 1px 2px rgba(15,15,16,0.04);
  --shadow-3: 0 8px 24px rgba(15, 15, 16, 0.10), 0 2px 6px rgba(15,15,16,0.05);
  --shadow-4: 0 18px 48px rgba(15, 15, 16, 0.16), 0 4px 12px rgba(15,15,16,0.06);
  --shadow-brand: 0 8px 24px rgba(181, 40, 42, 0.28);
  --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -1px 0 rgba(15,15,16,0.05);

  /* ---------- Type ---------- */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --tracking-tightest: -0.04em;
  --tracking-tight:    -0.02em;
  --tracking-normal:   -0.005em;
  --tracking-wide:      0.04em;
  --tracking-wider:     0.12em;

  --leading-tight:  1.05;
  --leading-snug:   1.18;
  --leading-normal: 1.45;
  --leading-loose:  1.65;

  /* ---------- Motion ---------- */
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in:     cubic-bezier(0.55, 0.05, 0.68, 0.19);
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 120ms;
  --dur-2: 200ms;
  --dur-3: 320ms;
  --dur-4: 480ms;
}

html { font-family: var(--font-body); color: var(--fg-1); background: var(--bg-1); }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Type scale utility classes */
.t-display-xl {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 152px);
  font-weight: 700;
  font-stretch: 100%;
  font-variation-settings: "opsz" 96, "wdth" 100;
  line-height: 0.92;
  letter-spacing: var(--tracking-tightest);
}
.t-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 700;
  font-stretch: 100%;
  font-variation-settings: "opsz" 72, "wdth" 100;
  line-height: 0.96;
  letter-spacing: var(--tracking-tightest);
}
.t-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 700;
  font-variation-settings: "opsz" 48, "wdth" 95;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.t-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  font-variation-settings: "opsz" 32, "wdth" 95;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}
.t-h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  font-variation-settings: "opsz" 24, "wdth" 90;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.t-h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  font-variation-settings: "opsz" 18, "wdth" 90;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.t-body-lg {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--fg-2);
}
.t-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--fg-1);
}
.t-body-sm {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg-2);
}
.t-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-2);
}
.t-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--fg-2);
}
.t-caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg-3);
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
