/* style.css — TVB Brand Design Tokens & Component Styles */

/* =============================================
   TYPE SCALE (Fluid with clamp)
   ============================================= */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* =============================================
     SPACING (4px base unit)
     ============================================= */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* =============================================
     FONTS — TVB Brand
     ============================================= */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Poppins', 'Inter', sans-serif;

  /* =============================================
     COLORS — TVB Brand (Dark-theme only)
     ============================================= */
  --color-bg:               #10121A;
  --color-surface:          #161922;
  --color-surface-2:        #1C2030;
  --color-surface-offset:   #222640;
  --color-surface-offset-2: #2A2F4A;
  --color-surface-dynamic:  #1A1E2D;
  --color-divider:          rgba(115, 133, 162, 0.15);
  --color-border:           rgba(115, 133, 162, 0.2);

  /* Text */
  --color-text:             #F0F1F5;
  --color-text-muted:       #7385A2;
  --color-text-faint:       #4A5670;
  --color-text-inverse:     #10121A;

  /* Primary — Deep Sea */
  --color-primary:          #1E429B;
  --color-primary-hover:    #2A54B8;
  --color-primary-active:   #1538A0;
  --color-primary-highlight: rgba(30, 66, 155, 0.15);

  /* Accent — Rock (warm) */
  --color-accent:           #AE6949;
  --color-accent-hover:     #C17A5A;
  --color-accent-active:    #9A5C3F;
  --color-accent-highlight: rgba(174, 105, 73, 0.15);

  /* Dusk — secondary / muted */
  --color-dusk:             #7385A2;

  /* Semantic */
  --color-success:          #4CAF50;
  --color-error:            #E53935;
  --color-warning:          #FF9800;

  /* =============================================
     RADIUS — Large rounded (TVB brand)
     ============================================= */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.25rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* =============================================
     TRANSITIONS
     ============================================= */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-golden: cubic-bezier(0.16, 1, 0.3, 1);

  /* =============================================
     SHADOWS (dark-mode tuned)
     ============================================= */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  --shadow-glow: 0 0 40px rgba(30, 66, 155, 0.15);

  /* =============================================
     CONTENT WIDTHS
     ============================================= */
  --content-narrow: 640px;
  --content-default: 760px;
  --content-wide: 1200px;
  --content-full: 100%;
}
