/* Auricred — design tokens v1 (16/11/2026)
   Brand colours come from the owner's logo files (brand/originais).
   Every other shade is derived from them in OKLCH and checked for WCAG AA. */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand (from the logo) */
  --brand-ink: #1B1F2A;
  --brand-cream: #F7F4EF;
  --brand-gold: #C6A667;
  --brand-teal: #0F8F77;

  /* Ink scale */
  --ink-900: #1B1F2A;   /* text, dark bands — 15:1 on cream */
  --ink-800: #2E333E;
  --ink-700: #4B505C;   /* secondary text — 7.4:1 on cream */
  --ink-500: #626671;   /* tertiary text — 5.2:1 on cream, 4.75:1 on cream-2 */
  --on-ink: #F7F4EF;    /* text on ink */
  --on-ink-2: #BABEC8;  /* secondary text on ink — 8.9:1 */

  /* Grounds and lines */
  --cream: #F7F4EF;     /* page ground */
  --cream-2: #EEE9E1;   /* quiet band */
  --white: #FFFFFF;     /* panels */
  --line: #E4DFD7;      /* hairlines */
  --line-strong: #CDC6BC;

  /* Gold — brand accent, never body text on light grounds */
  --gold-500: #C6A667;
  --gold-700: #806429;  /* gold text on cream — 5.1:1 */
  --gold-800: #69511E;
  --gold-100: #F7ECD7;

  /* Teal — action and confirmation */
  --teal-500: #0F8F77;  /* brand check, icons, large text */
  --teal-600: #007460;  /* buttons — white text 5.7:1 */
  --teal-700: #006452;  /* hover, links — 6.5:1 on cream */
  --teal-800: #005243;
  --teal-50: #E5F9F2;

  --danger: #B6322B;

  /* Semantic aliases */
  --text: var(--ink-900);
  --text-2: var(--ink-700);
  --text-3: var(--ink-500);
  --ground: var(--cream);
  --surface: var(--white);
  --action: var(--teal-600);
  --action-hover: var(--teal-700);
  --link: var(--teal-700);
  --focus: var(--teal-500);

  /* Typography */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.375rem, 1.55rem + 3.1vw, 3.625rem);  /* 38 → 58 */
  --fs-h1: clamp(2rem, 1.5rem + 1.9vw, 2.75rem);             /* 32 → 44 */
  --fs-h2: clamp(1.625rem, 1.35rem + 1.1vw, 2.125rem);       /* 26 → 34 */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);       /* 20 → 23 */
  --fs-h4: 1.0625rem;                                        /* 17 */
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);      /* 18 → 20 */
  --fs-body: 1.0625rem;                                      /* 17 */
  --fs-sm: 0.9375rem;                                        /* 15 */
  --fs-xs: 0.8125rem;                                        /* 13 */

  --lh-display: 1.06;
  --lh-heading: 1.18;
  --lh-body: 1.62;
  --lh-ui: 1.3;

  --tr-display: -0.035em;
  --tr-heading: -0.022em;
  --tr-caps: 0.06em;

  --measure: 66ch;

  /* Space — 4px base */
  --s-1: 0.25rem;  /* 4 */
  --s-2: 0.5rem;   /* 8 */
  --s-3: 0.75rem;  /* 12 */
  --s-4: 1rem;     /* 16 */
  --s-5: 1.5rem;   /* 24 */
  --s-6: 2rem;     /* 32 */
  --s-7: 3rem;     /* 48 */
  --s-8: 4rem;     /* 64 */
  --s-9: 6rem;     /* 96 */
  --s-10: 8rem;    /* 128 */
  --section: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  /* Layout */
  --container: 76rem;                       /* 1216px */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  /* Shape and depth */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-full: 999px;
  --shadow-float: 0 18px 40px -18px rgb(27 31 42 / 0.28), 0 2px 6px -2px rgb(27 31 42 / 0.10);
  --shadow-panel: 0 1px 0 rgb(27 31 42 / 0.04), 0 10px 30px -20px rgb(27 31 42 / 0.30);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur: 260ms;
  --dur-slow: 520ms;
}
