/* ==========================================================================
   Radmehr Law Office (radmehrlaw.ir) — Editorial Design Tokens & Typography
   100% Self-Hosted Vazirmatn (.woff2) | Zero External CDNs
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Editorial Quiet-Luxury Palette */
  --color-navy: #141E30;
  --color-navy-deep: #0E1523;
  --color-slate: #1C2536;
  --color-slate-hover: #243046;
  --color-cream: #F7F5F0;
  --color-cream-alt: #EAE5DC;
  --color-cream-pure: #FCFBF8;
  --color-bronze: #A68246;
  --color-bronze-hover: #B89354;
  --color-bronze-light: #CCA96E;
  --color-bronze-dark: #7A5C29;

  /* Semantic Ink & Borders */
  --ink-primary: #141E30;
  --ink-secondary: #3E485B;
  --ink-muted: #586275;
  --ink-on-dark: #F7F5F0;
  --ink-on-dark-muted: #BCC4D2;
  --ink-on-dark-subtle: #8F99AC;

  --hairline-light: rgba(20, 30, 48, 0.14);
  --hairline-light-strong: rgba(20, 30, 48, 0.24);
  --hairline-dark: rgba(247, 245, 240, 0.14);
  --hairline-dark-strong: rgba(247, 245, 240, 0.24);
  --hairline-bronze: rgba(166, 130, 70, 0.45);
  --hairline-bronze-subtle: rgba(166, 130, 70, 0.24);

  /* Typography */
  --font-sans: "Vazirmatn", "Tahoma", "Segoe UI", sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.14vw, 0.8125rem);
  --text-sm: clamp(0.84rem, 0.8rem + 0.18vw, 0.9375rem);
  --text-base: clamp(0.95rem, 0.91rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.08rem, 1.02rem + 0.3vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.12rem + 0.55vw, 1.55rem);
  --text-2xl: clamp(1.5rem, 1.28rem + 1.05vw, 2.15rem);
  --text-3xl: clamp(1.85rem, 1.45rem + 1.85vw, 3.05rem);

  --leading-tight: 1.38;
  --leading-snug: 1.55;
  --leading-relaxed: 1.9;

  /* Spacing & Layout Scale */
  --header-height: 76px;
  --container-max: 1240px;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);
  --section-pad: clamp(3.5rem, 6.5vw, 6.25rem);
  --radius-xs: 2px;
  --radius-sm: 4px;

  /* Elevation (Minimal Editorial) */
  --shadow-subtle: 0 12px 32px rgba(14, 21, 35, 0.08);
  --shadow-dark: 0 24px 56px rgba(7, 11, 19, 0.36);

  /* Motion Curves & Timings */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 240ms;
  --dur-base: 520ms;
  --dur-slow: 880ms;

  /* Z-Index Layers */
  --z-base: 1;
  --z-header: 40;
  --z-backdrop: 50;
  --z-drawer: 60;
  --z-skip: 100;
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }
}
