/**
 * sampul-theme.css — Sampul Studio brand tokens & base reset
 *
 * Sertakan dalam SEMUA halaman awam Sampul Studio:
 *   <link rel="stylesheet" href="/sampul-theme.css">
 *
 * JANGAN salin semula CSS variables ini ke dalam <style> setiap page.
 * Tukar warna brand atau tipografi di sini sahaja — semua page ikut sekaligus.
 *
 * Dikemas kini: 2026-10-28
 */

/* ── Brand colour tokens ──────────────────────────────────────────────────── */
:root {
  /* Primary */
  --pink:         #E8176A;
  --pink-dark:    #c70f59;   /* alias: --pink-dk */
  --pink-dk:      #c70f59;
  --pink-deep:    #7C2C4C;
  --pink-soft:    #FFD6E4;   /* alias: --blush */
  --blush:        #FFD6E4;

  /* Accent */
  --yellow:       #F7C135;
  --yellow-dark:  #D9A51F;   /* alias: --yellow-dk */
  --yellow-dk:    #D9A51F;

  /* Pastel palette */
  --butter:       #FFF5C2;
  --lilac:        #E8D5F5;
  --mint:         #C8F0E0;
  --sky:          #C8E8F5;
  --peach:        #FFE5CC;

  /* Neutrals */
  --cream:        #FEF8F0;
  --paper:        #FFF0F5;   /* default page background */
  --ink:          #211820;   /* primary text */
  --muted:        #6f6470;   /* secondary text */
  --line:         rgba(232, 23, 106, .14);  /* border / divider */

  /* Shadows */
  --shadow:       0 12px 32px rgba(232, 23, 106, .10);
  --shadow-hover: 0 20px 44px rgba(232, 23, 106, .18);
  --shadow-hi:    0 20px 44px rgba(232, 23, 106, .18);  /* alias */

  /* Typography stacks */
  --head: 'Quicksand', ui-rounded, system-ui, sans-serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Base reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img, picture, video, canvas {
  display: block;
  max-width: 100%;
}

/* ── Utility: accessible focus ring ─────────────────────────────────────── */
:focus-visible {
  outline: 3px solid rgba(232, 23, 106, .45);
  outline-offset: 3px;
}

/* ── Accessibility: reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
