/* ==========================================================================
   tokens.css — Design tokens (single source of truth)
   --------------------------------------------------------------------------
   Every color, type size, spacing value, and motion curve in the project
   resolves back to a token in this file. Do not write hex values, raw px
   values, or arbitrary easings anywhere else in the codebase.
   ========================================================================== */

:root {
  /* ----------------------------------------------------------------------
     COLOR — "Maritime Authority" palette
     ---------------------------------------------------------------------- */
  --ink:        #0A1628;     /* Deep harbor navy — primary text + brand */
  --ink-soft:   #1B2A3F;     /* Hover layer / dark surfaces */
  --ink-muted:  #4A5A72;     /* Body copy / metadata (passes WCAG AA) */
  --paper:      #F7F5F0;     /* Warm bone — base background */
  --paper-pure: #FFFFFF;     /* Card surfaces, used sparingly */
  --line:       #E1DDD3;     /* Document-paper rule lines */
  --line-soft:  #EDE9DF;     /* Inner separators */
  --accent:     #B8985A;     /* Aged brass — official seal color */
  --accent-ink: #8C6F3D;     /* Accent on light backgrounds */
  --signal:     #1F6F4A;     /* Customs-clearance green (state only) */
  --alert:      #A33A2C;     /* Warnings only */

  /* ----------------------------------------------------------------------
     TYPOGRAPHY
     ---------------------------------------------------------------------- */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Type scale — fluid via clamp() */
  --t-display-1: clamp(44px, 7vw, 96px);
  --t-display-2: clamp(36px, 5vw, 64px);
  --t-display-3: clamp(24px, 3vw, 36px);
  --t-lede:      clamp(17px, 1.4vw, 19px);
  --t-body:      16px;
  --t-small:     14px;
  --t-meta:      12px;
  --t-micro:     11px;

  /* ----------------------------------------------------------------------
     SPACING — 4px modular scale
     ---------------------------------------------------------------------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 192px;

  /* ----------------------------------------------------------------------
     LAYOUT
     ---------------------------------------------------------------------- */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: 24px;
  --radius-sm: 2px;
  --radius-md: 4px;

  /* ----------------------------------------------------------------------
     MOTION
     ---------------------------------------------------------------------- */
  --ease:       cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:     0.18s;
  --t-base:     0.28s;
  --t-slow:     0.6s;

  /* ----------------------------------------------------------------------
     ELEVATION (used sparingly — this is a flat design)
     ---------------------------------------------------------------------- */
  --shadow-card: 0 1px 0 var(--line), 0 30px 60px -30px rgba(10, 22, 40, 0.18);
  --shadow-cta:  0 6px 20px -8px rgba(10, 22, 40, 0.4);
}
