/* =========================================================
   BISING Studio — design tokens (light only)
   Layered surfaces L0–L4, 4 text tiers, hairline borders.
   Dark photographic / ink bands are content blocks, not a theme.
   ========================================================= */
:root {
  color-scheme: light;

  /* Surfaces */
  --l0: #F6F4EF;          /* kertas — page */
  --l1: #FFFFFF;          /* panels, drawers, modal, cards */
  --l2: #EEECE7;          /* latar foto produk */
  --l3: #E2DFD7;          /* hover fills, pressed */
  --l4: #D3CFC5;          /* grips, skeleton highlight */

  /* Grayscale 50–900 (for scale-based needs) */
  --g50: #FAF9F6; --g100: #F1EFEA; --g200: #E2DFD7; --g300: #D3CFC5; --g400: #A3A19A;
  --g500: #85837D; --g600: #6B6A65; --g700: #4F4E4A; --g800: #3D3D3A; --g900: #111111;

  /* Text tiers */
  --t1: #111111;          /* primary */
  --t2: #3D3D3A;          /* secondary */
  --t3: #6B6A65;          /* tertiary — only on L0/L1/L2 */
  --t4: #A3A19A;          /* disabled only */

  /* Ink blocks (marquee, drop band, CTA) */
  --ink: #111111;
  --ink-2: #1F1F1D;
  --on-ink: #F6F4EF;
  --on-ink-2: #C9C6BE;    /* secondary text on ink: 10.9:1 */
  --cta-bg: #111111;
  --cta-fg: #FFFFFF;
  --cta-bg-hover: #2A2A27;

  /* Accent & status */
  --lime: #C8F031;
  --lime-press: #B7DE22;
  --on-lime: #111111;
  --sale: #D7301F;
  --on-sale: #FFFFFF;
  --ok: #2E6B3A;
  --wa: #1FAF54;

  /* Strokes (t1 at 8–15%) */
  --line: rgba(17, 17, 17, .12);
  --line-soft: rgba(17, 17, 17, .08);
  --line-strong: rgba(17, 17, 17, .15);
  --line-ink: rgba(246, 244, 239, .14);
  --scrim: rgba(13, 13, 12, .55);
  --photo-veil: rgba(13, 13, 12, .36);
  --focus: #111111;

  /* Type */
  --f-display: "Anton", Impact, sans-serif;
  --f-body: "Manrope", sans-serif;
  --f-mono: "DM Mono", monospace;

  --fs-xs: .75rem;      /* 12 */
  --fs-sm: .8125rem;    /* 13 — compact UI */
  --fs-base: .9375rem;  /* 15 */
  --fs-md: 1.0625rem;   /* 17 */
  --fs-lg: 1.25rem;
  --fs-h3: clamp(1.4rem, 1.05rem + 1.4vw, 2rem);
  --fs-h2: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --fs-h1: clamp(2.6rem, 1.2rem + 6.5vw, 7.5rem);
  --fs-hero: clamp(3.1rem, min(14vw, 25svh), 12rem);

  /* Space (4pt) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px;
  --section: clamp(40px, 5vw, 80px);
  --max: 1600px;

  /* Chrome heights */
  --topbar-h: 32px;
  --header-h: 56px;
  --chrome-h: calc(var(--topbar-h) + var(--header-h));

  /* Shape */
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --d-fast: 180ms;
  --d-mid: 240ms;
  --d-slow: 300ms;

  --z-header: 50;
  --z-float: 40;
  --z-drawer: 80;
  --z-toast: 100;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --header-h: 60px; }
}
@media (min-width: 1440px) {
  :root { --gutter: 32px; }
}
