/* ==========================================================================
   SFA Design Tokens — sumber: SFA Design System (claude.ai artifact)
   Warna 60/30/10: black / off-white / deep red. Tanpa gradien, tanpa tint merah.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --sfa-black: #090909;
  --sfa-off-white: #FAF9F7;
  --sfa-white: #FFFFFF;
  --sfa-deep-red: #7D0508;

  /* Semantic — tema off-white (default web) */
  --surface: var(--sfa-off-white);
  --ink: var(--sfa-black);
  --ink-muted: #5B5955;           /* kontras 6.9:1 di atas off-white */
  --hairline: rgba(9, 9, 9, 0.16);
  --media-bg: rgba(9, 9, 9, 0.06);
  --accent: var(--sfa-deep-red);
  --on-accent: var(--sfa-off-white);
  --accent-text: var(--sfa-deep-red); /* hanya di atas latar terang */
  --fill-strong: var(--sfa-black);
  --on-fill-strong: var(--sfa-off-white);

  /* Typography */
  --font-display: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-editorial: "Times New Roman MT Condensed", "Times New Roman", Times, serif;
  --font-spec: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display-xl: clamp(3.25rem, 10.4vw, 12rem);
  --fs-display-l: clamp(2.75rem, 7vw, 7rem);
  --fs-section: clamp(2.25rem, 5.4vw, 5rem);
  --fs-headline: clamp(1.75rem, 3.2vw, 2.75rem);
  --fs-title: clamp(1.125rem, 1.4vw, 1.375rem);
  --fs-lead: clamp(1.125rem, 1.5vw, 1.375rem);
  --fs-body: 1rem;
  --fs-caption: 0.875rem;
  --fs-label: 0.8125rem;
  --fs-editorial: clamp(2.25rem, 4.4vw, 4.5rem);

  --track-display: -0.04em;
  --track-headline: -0.03em;

  /* Spacing (basis 4px) */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px;  --space-12: 48px; --space-16: 64px;
  --space-24: 96px; --space-32: 128px; --space-40: 160px;

  --gutter: clamp(16px, 4.5vw, 64px);
  --section-y: clamp(72px, 10vw, 160px);
  --grid-gap: clamp(16px, 2vw, 32px);
  --max-width: 1440px;
  --header-h: 72px;

  /* Shape */
  --radius-none: 0;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;
}

/* Tema gelap (cover, section gelap, footer) */
.section--dark,
.cover,
.site-footer,
.cta-split__panel--dark {
  --surface: var(--sfa-black);
  --ink: var(--sfa-off-white);
  --ink-muted: #A9A6A1;           /* kontras 8.2:1 di atas black */
  --hairline: rgba(250, 249, 247, 0.18);
  --media-bg: rgba(250, 249, 247, 0.08);
  --fill-strong: var(--sfa-off-white);
  --on-fill-strong: var(--sfa-black);
  background: var(--surface);
  color: var(--ink);
}

.cta-split__panel--accent {
  --surface: var(--sfa-deep-red);
  --ink: var(--sfa-off-white);
  --ink-muted: rgba(250, 249, 247, 0.82);
  --hairline: rgba(250, 249, 247, 0.28);
  background: var(--surface);
  color: var(--ink);
}
