/* =============================================================================
   Hotch — theme.css
   Design tokens, self-hosted Vazirmatn font faces, reset, base typography.
   Brand: warm honey + deep black, industrial / premium. Signature: honeycomb.
   ========================================================================== */

/* ------------------------------- Fonts ---------------------------------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  font-style: normal;
}

/* ------------------------------ Tokens ---------------------------------- */
:root {
  /* Palette */
  --honey:        #F4A900;
  --honey-dark:   #C98A00;
  --honey-deep:   #A06E00;
  --honey-light:  #FFC93C;
  --honey-tint:   #FFF4DC;
  --honey-wash:   #FFFBF2;

  --ink:          #0F0F10;
  --ink-2:        #17171A;
  --charcoal:     #1F1F23;
  --graphite:     #33333A;
  --gray:         #6B6B73;
  --gray-2:       #8A8A93;
  --line:         #E7E4DD;
  --line-2:       #EFEDE7;
  --mist:         #F6F4EF;
  --paper:        #FBFAF7;
  --white:        #FFFFFF;

  --success:      #1E9E5A;
  --success-bg:   #E7F6ED;
  --danger:       #D2372B;
  --danger-bg:    #FBEAE8;
  --warn:         #C98A00;
  --warn-bg:      #FCF3DE;
  --info:         #2563A8;
  --info-bg:      #E8F0FA;

  /* Typography */
  --font: "Vazirmatn", "Tahoma", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.85rem;
  --fs-base: 0.95rem;
  --fs-md: 1.05rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.6rem;
  --fs-2xl: 2.1rem;
  --fs-3xl: 2.9rem;

  /* Radius */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(15, 15, 16, .06);
  --sh: 0 4px 16px rgba(15, 15, 16, .08);
  --sh-lg: 0 14px 40px rgba(15, 15, 16, .12);
  --sh-honey: 0 8px 24px rgba(244, 169, 0, .28);

  /* Layout */
  --wrap: 1200px;
  --header-h: 76px;
  --space: 1rem;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -.01em;
}

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

img, svg { max-width: 100%; display: block; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: none; }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

/* Selection */
::selection { background: var(--honey); color: var(--ink); }

/* Scrollbar (slim, on-brand) */
* { scrollbar-width: thin; scrollbar-color: var(--honey-dark) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: var(--r-pill);
  border: 2px solid var(--paper);
}
*::-webkit-scrollbar-thumb:hover { background: var(--honey-dark); }

/* Focus visibility (accessibility) */
:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

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

/* Utility */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fa-num { font-feature-settings: "ss01"; }
