/*
Theme Name: ROGUEXLAB
Theme URI: https://roguexlab.com/
Author: Metrix Path
Author URI: https://metrixpath.com/
Description: Custom WordPress Block Theme reproducing krtkl.my minimal streetwear aesthetic and interactions. Designed and built by Metrix Path (Metrix Path Solution, SSM 202603233249 / 003885247-H), a Malaysian software studio based in Kuala Lumpur.
Version: 1.1.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: roguexlab
Tags: full-site-editing, block-patterns, e-commerce, custom-colors, custom-menu
*/

:root {
  /* PRD Section 1: Design Tokens */
  --bg-page: #f5f5f5;
  --bg-tile: #ebebeb;
  --text: #110811;
  --text-muted: #555555;
  --btn-primary-bg: #111111;
  --btn-hover-bg: #333333;
  --btn-disabled-bg: #888888;
  --overlay: rgba(0, 0, 0, 0.38);
  --border: 1px solid rgba(0, 0, 0, 0.12);
  --border-strong: 1px solid #111111;
  --font-sans: Helvetica, Arial, sans-serif;
  --font-mono: "Anonymous Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Animation & Transitions (TODO: VERIFY ANI-1..8) */
  --header-transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  --menu-duration: 0.2s; /* TODO: VERIFY ANI-2 */
  --menu-ease: cubic-bezier(0.16, 1, 0.3, 1); /* TODO: VERIFY ANI-2 */
  --drawer-duration: 0.25s; /* TODO: VERIFY ANI-6 */
  --drawer-ease: cubic-bezier(0.33, 1, 0.68, 1); /* TODO: VERIFY ANI-6 */
  --vt-duration: 250ms; /* TODO: VERIFY ANI-7 */
  --vt-ease: ease;      /* TODO: VERIFY ANI-7 */

  /* Dimensions */
  --header-height: 64px;
  --container-max: 1400px;
  --container-narrow: 560px; /* ~39vw on 1440px */
}

/* --------------------------------------------------------------------------
   View Transitions (ANI-7 & Phase 4b)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  #site-header {
    view-transition-name: site-header;
  }

  ::view-transition-old(root) {
    animation: var(--vt-duration) var(--vt-ease) both fade-out;
  }
  ::view-transition-new(root) {
    animation: var(--vt-duration) var(--vt-ease) both fade-in;
  }

  @keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* Global reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  border-radius: 0;
  cursor: pointer;
}
