/* ============================================================
   LIQUID EXPRESSIVE — design tokens
   Liquid Glass on the chrome layer + Material 3 Expressive
   on the content layer. Tokens only; no component rules here.
   ============================================================ */

:root {
  color-scheme: light;

  /* Surfaces — opaque content layer. Glass is defined below. */
  --paper: #f4f0e7;
  --surface: #fbf8f1;
  --surface-2: #ffffff;
  --surface-3: #f1ebdf;
  --surface-sunken: #e5ddce;

  /* Ink */
  --ink: #17130d;
  --ink-2: #3c3529;
  --muted: #6d6455;
  --muted-2: #918872;

  /* Hairlines */
  --line: rgba(23, 19, 13, 0.12);
  --line-strong: rgba(23, 19, 13, 0.22);

  /* Brand roles */
  --gold: #8f4c00;
  --gold-2: #c97a00;
  --gold-bright: #ffc02e;
  --gold-soft: #ffe6ac;
  --gold-wash: #fff5df;
  --gold-ink: #382100;

  /* Expressive supports — color blocking, not decoration noise */
  --violet: #5436e8;
  --violet-soft: #eae4ff;
  --coral: #e34a25;
  --coral-soft: #ffe2d8;
  --mint: #0b7d53;
  --mint-soft: #d8f2e5;

  /* Semantic */
  --green: #0b7d53;
  --green-soft: #d8f2e5;
  --red: #b3261e;
  --red-soft: #ffe1de;
  --blue: #1d4f91;
  --blue-soft: #e2ecfb;

  /* Glass layer — navigation + overlay only */
  --glass: rgba(255, 253, 248, 0.62);
  --glass-strong: rgba(255, 253, 248, 0.8);
  --glass-line: rgba(255, 255, 255, 0.9);
  --glass-blur: 26px;
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(23, 19, 13, 0.08),
    0 16px 40px -20px rgba(23, 19, 13, 0.38);

  /* Expressive radii — asymmetric where it earns attention */
  --r-1: 10px;
  --r-2: 14px;
  --r-3: 20px;
  --r-4: 28px;
  --r-5: 36px;
  --r-6: 48px;
  --r-7: 64px;
  --r-full: 999px;
  --r-card: 32px 32px 12px 32px;
  --r-card-inner: 26px 26px 8px 26px;
  --r-panel: 44px 44px 16px 44px;
  --r-panel-inner: 36px 36px 10px 36px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 18px;
  --s-5: 26px;
  --s-6: 36px;
  --s-7: 52px;
  --s-8: 72px;
  --s-9: 104px;
  --s-10: 140px;

  /* Depth — layered, optical, no fake blur on content */
  --shadow-pop: 0 2px 4px rgba(23, 19, 13, 0.06),
    0 18px 44px -16px rgba(23, 19, 13, 0.24);
  --shadow-float: 0 3px 8px rgba(23, 19, 13, 0.07),
    0 36px 80px -28px rgba(23, 19, 13, 0.34);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 0 rgba(23, 19, 13, 0.04),
    0 20px 44px -32px rgba(23, 19, 13, 0.32);
  --shadow-lip: 0 6px 0 #bd7500, 0 16px 28px -14px rgba(90, 53, 0, 0.5);
  --ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--gold-2);

  /* Type — mobile-first, large by default */
  --font-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, monospace;

  --t-hero: clamp(2.6rem, 9vw, 5.4rem);
  --t-display: clamp(2rem, 6vw, 3.6rem);
  --t-title: clamp(1.35rem, 3.6vw, 1.95rem);
  --t-lead: clamp(1.125rem, 2.6vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  /* Motion — spring, morph, stagger */
  --dur-1: 100ms;
  --dur-2: 180ms;
  --dur-3: 280ms;
  --dur-4: 420ms;
  --dur-5: 620ms;
  --spring: cubic-bezier(0.2, 1.35, 0.3, 1);
  --spring-soft: cubic-bezier(0.18, 1, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Layout */
  --page-max: 1200px;
  --page-pad: clamp(20px, 5vw, 48px);
  --nav-h: 58px;
}

@media (min-width: 900px) {
  :root {
    --nav-h: 72px;
  }
}
