/* Hallmark · macrostructure: Marquee Hero · genre: modern-minimal
 * theme: studied-DNA (source: url https://www.usehallmark.com/examples/tally/)
 * observed-fonts: Geist + Geist Mono + Instrument Serif (kept)
 * observed-accent: oklch(54% 0.220 268) cool-indigo (re-anchored to the Repdio brand)
 * paper-band: light · display-style: geometric-sans · accent-hue: warm-gold
 * nav: N5 Floating pill · footer: Ft5 Statement
 * rhythm: unknown (URL mode)
 *
 * Colour re-anchor: the app ships ink #0E1013, paper #F2EFE8 and BrandGold
 * #EFB55C. The brand gold measures 1.60:1 on paper, so it can never carry
 * text. --color-accent is the same hue pulled down to L52 % (5.34:1) and
 * the literal brand gold lives on as --color-companion, used only on ink
 * (10.26:1). Every value below is inside sRGB; nothing clips.
 */

:root {
  color-scheme: light;

  /* Paper / ink — warm-neutral band, hue 86 paper against hue 258 ink */
  --color-paper-0: oklch(98.2% 0.004 86);   /* page                          */
  --color-paper-1: oklch(96.4% 0.008 86);   /* card                          */
  --color-paper-2: oklch(93.4% 0.012 86);   /* elevated card                 */
  --color-paper-3: oklch(89.5% 0.016 86);   /* hairline tint, track          */
  --color-ink-0:   oklch(17.5% 0.010 258);  /* primary ink   17.97:1 on paper */
  --color-ink-1:   oklch(34.0% 0.010 258);  /* body          11.18:1          */
  --color-ink-2:   oklch(50.0% 0.010 258);  /* secondary      5.72:1          */
  --color-ink-3:   oklch(70.0% 0.010 258);  /* decorative only — never text   */

  /* Accent — the brand gold, split by job */
  --color-accent:      oklch(52.0% 0.110 76);  /* text, links, strokes  5.34:1 */
  --color-accent-soft: oklch(72.0% 0.152 76);  /* fills only            2.41:1 */
  --color-accent-tint: oklch(96.0% 0.020 76);  /* washes                       */
  --color-companion:   oklch(81.0% 0.171 76);  /* brand gold, on ink   10.26:1 */
  --color-success:     oklch(52.0% 0.130 150); /*                       4.92:1 */
  --color-danger:      oklch(52.0% 0.170 25);  /*                       5.74:1 */

  /* Focus ring — darker than the accent so it holds its own against fills */
  --color-focus: oklch(44.0% 0.093 76);        /*                       7.51:1 */

  /* Typography — Geist + Geist Mono + Instrument Serif via Google Fonts */
  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-italic:  "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* Type scale — modular, tight */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.5rem;
  --text-3xl:  clamp(2rem, 5.2vw, 3.5rem);
  --text-4xl:  clamp(2rem, 7vw, 4rem);
  --text-5xl:  clamp(2.25rem, 8.4vw, 4.75rem);

  /* Spacing — 4 pt scale */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 8rem;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  /* Lines */
  --rule-hair: 1px solid color-mix(in oklch, var(--color-ink-0) 8%, transparent);
  --rule-soft: 1px solid color-mix(in oklch, var(--color-ink-0) 14%, transparent);

  /* Shadow tint — the ink hue, so shadows never read blue-grey on warm paper */
  --shadow-tint: 30 25 15;

  /* Easings + durations */
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in:     cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --dur-fast: 140ms;
  --dur-mid:  240ms;
  --dur-slow: 420ms;
}

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