/* ============================================================
   NAGA STEELS, Design Tokens
   ------------------------------------------------------------
   Premium editorial light theme, derived from the logo:
   forest green field, gold ring, white serif N, magenta flash.

   Language: a well-set trade catalogue, not a SaaS landing page
   and not a dark "tech" demo. Green carries the brand, gold is
   the premium accent, and the page is light so photography and
   whitespace do the work.
   ============================================================ */

:root {
  /* ---- Brand ------------------------------------------------------
     Sampled from the logo. --green is the field, --gold is the ring. */
  --green:        #006837;
  --green-dark:   #00502A;   /* hover on solid green */
  --green-deep:   #073A24;   /* deep inversion bands */
  --green-ink:    #10251A;   /* map plot, darkest panel */
  --green-tint:   #E9F3ED;   /* faint green wash on light */
  --green-tint-2: #E8ECE6;   /* warm section band */

  --gold:         #CDA535;
  --gold-hi:      #E8C86A;
  --gold-deep:    #9C7A1C;   /* gold that passes AA on white */
  --yellow:       #FDEA56;   /* eyebrows on dark, focus ring */
  --magenta:      #8E2F77;   /* single rare highlight, never body text */

  /* ---- Surface ----------------------------------------------------- */
  --paper:      #FFFFFF;
  --off:        #F2F1EC;   /* page base */
  --off-warm:   #F7F6F1;   /* hero band */
  --line:       #D9DDD8;   /* hairline */
  --line-soft:  #E7EAE5;
  --line-ink:   #101410;   /* the heavy rule above a section grid */

  /* ---- Ink ---------------------------------------------------------- */
  --ink:        #101410;
  --ink-2:      #343A35;
  --muted:      #5C625D;
  --muted-2:    #7B827C;

  /* On dark green bands */
  --on-green:      #FFFFFF;
  --on-green-soft: rgb(255 255 255 / 0.76);
  --on-green-line: rgb(255 255 255 / 0.22);

  --signal:     #1EA751;   /* WhatsApp green, darkened for AA on white */
  --signal-hi:  #25D366;

  /* ---- Type --------------------------------------------------------
     Display is Inter 600 set very tight, which is what gives the editorial
     references their authority. Space Grotesk is gone: it reads "tech
     startup", which is the thing we are moving away from. Reusing Inter
     rather than adding a second family keeps the font payload at three
     files; the tracking does the work, not the typeface. */
  --font-display: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --t-xs:   0.6875rem;
  --t-sm:   0.8125rem;
  --t-base: 1rem;
  --t-lg:   clamp(1.0625rem, 0.4vw + 0.95rem, 1.1875rem);
  --t-xl:   clamp(1.25rem, 0.8vw + 1.05rem, 1.5rem);
  --t-2xl:  clamp(1.75rem, 2.4vw + 1.1rem, 2.6rem);
  --t-3xl:  clamp(2.25rem, 3.85vw + 0.4rem, 3.4rem);
  --t-4xl:  clamp(2.9rem, 5.4vw + 0.6rem, 4.85rem);

  /* Signature tracking. The references all set display type at roughly
     -0.05em with a line-height at or just under 1. */
  --track-display: -0.052em;
  --track-hero:    -0.062em;

  /* ---- Space (8pt grid) --------------------------------------------- */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;     --s-10: 8rem;

  --section-y: clamp(3.5rem, 7vw, 5.5rem);
  --gutter:    clamp(1.125rem, 4vw, 1.5rem);
  --maxw:      1240px;
  --maxw-text: 68ch;

  /* ---- Form --------------------------------------------------------- */
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;

  /* Light-mode elevation: shallow, green-tinted, never grey-black. */
  --shadow-1: 0 1px 2px rgb(16 20 16 / 0.05);
  --shadow-2: 0 5px 20px rgb(16 20 16 / 0.06);
  --shadow-3: 0 24px 60px -18px rgb(16 20 16 / 0.22);
  --shadow-green: 0 10px 30px -10px rgb(0 104 55 / 0.35);

  /* ---- Motion -------------------------------------------------------- */
  --ease:        cubic-bezier(0.22, 0.7, 0.28, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur:      220ms;
  --dur-slow: 420ms;

  --header-h: 72px;
}

/* Motion is opt-out at the token level, so every transition that
   references --dur collapses at once rather than needing per-rule guards. */
@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 1ms; --dur: 1ms; --dur-slow: 1ms; }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; }
}
