/* ==========================================================================
   弘鹊 HONGQUE — Design Tokens  ·  "Clinical Editorial" v2
   Source: 弘鹊 VI manual (logo, packaging, print) + yongkangcn.com content
   Direction: bright, precise, editorial. Hairlines over boxes; one cinematic
   video stage per site. Brand cyan is the single chromatic accent.
   ========================================================================== */

:root {
  /* ---- Brand (extracted from the VI logo artwork) ---- */
  --cyan:          #29ABE2;   /* logo cyan — identity anchor            */
  --cyan-700:      #1577A8;   /* AA-safe on white (4.96:1)              */
  --cyan-900:      #0B4C6E;   /* deep cyan for text on tints            */
  --cyan-100:      #D9EFF9;
  --cyan-050:      #EEF8FC;

  --blue:          #1A6FC4;   /* packaging blue                         */
  --blue-800:      #0F5AA6;   /* AA-safe with white text (5.9:1)        */
  --blue-900:      #0A3B6B;

  --amber:         #E8930C;   /* micro-accent only (NQA dot)            */

  /* ---- Ink ---- */
  --ink-900:       #07131D;
  --ink-800:       #10222F;
  --ink-700:       #21384A;
  --ink-600:       #3D5568;
  --ink-500:       #5F7587;
  --ink-400:       #8A9CAB;
  --ink-300:       #B4C3CE;
  --ink-200:       #D6E0E7;

  /* ---- Surfaces ---- */
  --paper:         #FFFFFF;
  --paper-2:       #F7FAFC;
  --paper-3:       #EDF3F7;
  --deep:          #07131D;

  /* ---- Hairlines (the primary structural device) ---- */
  --line:          #E3EAEF;
  --line-2:        #D2DEE6;
  --line-3:        #BCCBD6;
  --line-invert:   rgba(255,255,255,.14);

  /* ---- Semantic ---- */
  --bg:            var(--paper);
  --bg-alt:        var(--paper-2);
  --text:          var(--ink-800);
  --text-muted:    var(--ink-500);
  --text-soft:     var(--ink-400);
  --focal:         var(--cyan);
  --focal-ink:     var(--cyan-700);

  /* ---- Type ---- */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
               "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
               -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* editorial scale — high contrast between display and label */
  --fs-label:  0.6875rem;                                   /* 11px  */
  --fs-xs:     0.75rem;
  --fs-sm:     0.8125rem;
  --fs-base:   1rem;
  --fs-md:     clamp(1.0625rem, 0.30vw + 1rem, 1.1875rem);
  --fs-lg:     clamp(1.1875rem, 0.55vw + 1.05rem, 1.5rem);
  --fs-h3:     clamp(1.25rem, 1.10vw + 1rem, 1.75rem);
  --fs-h2:     clamp(1.875rem, 3.10vw + 1rem, 3.25rem);
  --fs-h1:     clamp(2.25rem, 4.30vw + 1rem, 4.5rem);
  --fs-display:clamp(2.5rem, 5.85vw + 1rem, 6.25rem);

  --lh-display: 0.98;
  --lh-tight:   1.06;
  --lh-snug:    1.24;
  --lh-base:    1.7;
  --lh-loose:   1.85;

  --ls-display: -0.038em;
  --ls-tight:   -0.022em;
  --ls-snug:    -0.012em;
  --ls-label:    0.20em;

  /* ---- Space (8pt) ---- */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-7: 1.75rem; --s-8: 2rem;
  --s-10: 2.5rem; --s-12: 3rem;  --s-14: 3.5rem; --s-16: 4rem;
  --s-20: 5rem;  --s-24: 6rem;   --s-32: 8rem;   --s-40: 10rem;

  --section-y:       clamp(4.5rem, 7.5vw, 9rem);
  --section-y-tight: clamp(3rem, 4.5vw, 5.5rem);
  --gutter:          clamp(1.25rem, 4vw, 4rem);
  --container:       87.5rem;   /* 1400 */
  --container-wide:  100rem;
  --container-text:  46rem;

  /* ---- Geometry: sharp and precise ---- */
  --r-1: 2px; --r-2: 4px; --r-3: 8px; --r-pill: 999px;

  /* ---- Elevation: almost flat; hairlines do the work ---- */
  --sh-1: 0 1px 2px rgba(7,19,29,.04);
  --sh-2: 0 10px 30px -18px rgba(7,19,29,.18);
  --sh-3: 0 28px 60px -30px rgba(7,19,29,.28);
  --sh-focal: 0 14px 34px -16px rgba(41,171,226,.5);

  /* ---- Motion ---- */
  --ease-out:   cubic-bezier(.22,.61,.36,1);
  --ease-expo:  cubic-bezier(.16,1,.3,1);
  --ease-inout: cubic-bezier(.65,.05,.36,1);
  --ease-spring: cubic-bezier(.34,1.4,.64,1);
  --t-fast: .16s;
  --t-base: .3s;
  --t-slow: .55s;
  --t-reveal: .85s;

  --z-sticky: 100; --z-header: 200; --z-overlay: 400;
  --z-drawer: 500; --z-lightbox: 600; --z-toast: 700;

  --header-h: 72px;
}
@media (max-width: 900px) { :root { --header-h: 62px; } }
