/* =========================================================
   DaanMaaktWebsites — Design tokens
   Editorial-confident, light. Paper + ink + one accent.
   ========================================================= */

:root {
  /* ============ COLORS ============ */
  /* Paper / surface */
  --color-paper:        #f5f5f5;   /* light grey — page bg */
  --color-paper-deep:   #f5f5f5;   /* alternating sections */
  --color-paper-light:  #fafafa;   /* lighter variant */
  --color-surface:      #ffffff;   /* cards/floating surfaces */

  /* Ink / text */
  --color-ink:          #0a0a0a;   /* headings, strong text */
  --color-ink-2:        #1a1a1a;   /* body */
  --color-ink-3:        #555555;   /* muted */
  --color-ink-4:        #888888;   /* tertiary / mono labels */

  /* Lines */
  --color-line:         #e5e5e5;
  --color-line-strong:  #cccccc;
  --color-line-ink:     #0a0a0a;   /* hairline on ink */

  /* Accent — blue */
  --color-accent:       #2557d6;
  --color-accent-hover: #1a46b8;
  --color-accent-soft:  #eef2fd;
  --color-accent-vivid: #2557d6;

  /* ============ EDITORIAL ACCENT PALETTE ============ */
  --accent-blue:        #2557d6;
  --accent-blue-text:   #1a46b8;
  --accent-blue-soft:   #eef2fd;
  --accent-blue-glow:   rgba(37, 87, 214, 0.45);

  /* Inverse (dark sections) */
  --color-inverse-bg:   #0a0a0a;
  --color-inverse-text: #ffffff;
  --color-inverse-muted: rgba(255, 255, 255, 0.68);
  --color-inverse-line: rgba(255, 255, 255, 0.12);

  /* States */
  --color-focus:        #2557d6;

  /* ============ TYPOGRAPHY ============ */
  --font-display: 'Fraunces', ui-serif, Georgia, "Times New Roman", serif;
  --font-sans:    'Inter Tight', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Fraunces variation axes shortcuts */
  --vf-display: "opsz" 144, "SOFT" 50, "WONK" 0;
  --vf-body-serif: "opsz" 14, "SOFT" 30, "WONK" 0;

  /* Type scale — editorial, tighter ratio, larger display */
  --text-2xs:  0.6875rem;  /* 11px */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.8125rem;  /* 13px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.0625rem;  /* 17px - body */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  2rem;       /* 32px */
  --text-3xl:  2.75rem;    /* 44px */
  --text-4xl:  3.75rem;    /* 60px */
  --text-5xl:  5rem;       /* 80px */
  --text-6xl:  7rem;       /* 112px - editorial numerals */

  --leading-display: 0.96;
  --leading-heading: 1.08;
  --leading-snug:    1.25;
  --leading-base:    1.55;
  --leading-relaxed: 1.7;

  --tracking-display: -0.025em;
  --tracking-tight:   -0.015em;
  --tracking-base:    0;
  --tracking-label:   0.18em;
  --tracking-mono:    0.08em;

  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* ============ SPACING ============ */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* ============ LAYOUT ============ */
  --container-max:     82rem;     /* 1312px - wide editorial */
  --container-narrow:  44rem;     /* prose */
  --container-padding: 1.25rem;

  /* Editorial 12-col grid - we use it via grid-template-columns: repeat(12, 1fr) */
  --grid-gap: 1.25rem;

  /* Section padding - VARIED (mobile) */
  --section-y:       3rem;
  --section-y-tight: 2rem;
  --section-y-tall:  4.5rem;

  /* ============ RADIUS — minimal editorial ============ */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   6px;
  --radius-xl:   10px;
  --radius-full: 9999px;

  /* ============ SHADOW — paper-like ============ */
  --shadow-hairline: 0 1px 0 rgba(14, 14, 18, 0.06);
  --shadow-card:     0 1px 0 rgba(14, 14, 18, 0.06),
                     0 8px 24px -8px rgba(14, 14, 18, 0.10);
  --shadow-card-hover: 0 1px 0 rgba(14, 14, 18, 0.08),
                       0 16px 40px -10px rgba(14, 14, 18, 0.14);
  --shadow-pop:      0 24px 60px -16px rgba(14, 14, 18, 0.18);

  /* ============ MOTION — editorial curves ============ */
  --duration-fast: 200ms;
  --duration-base: 400ms;
  --duration-slow: 700ms;
  --duration-xslow: 1100ms;

  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);    /* smooth out, designer's favorite */
  --ease-snap:      cubic-bezier(0.34, 1.56, 0.64, 1); /* slight overshoot */
  --ease-in:        cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);

  /* ============ Z-INDEX ============ */
  --z-base:     0;
  --z-elevated: 10;
  --z-sticky:   100;
  --z-overlay:  900;
  --z-modal:    1000;
}

@media (min-width: 768px) {
  :root {
    --section-y:       4.5rem;
    --section-y-tight: 2.5rem;
    --section-y-tall:  7rem;
    --container-padding: 2.5rem;
    --grid-gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --section-y:       6rem;
    --section-y-tight: 3.5rem;
    --section-y-tall:  9rem;
    --container-padding: 3.5rem;
    --grid-gap: 2rem;
  }
}
