/*
 * ASHIAN Official Design Tokens
 * Source of truth: Client Brand Board (photo_2026-12-03_00-19-05.jpg) & Section 4.1–4.2
 *
 * Documented Palette Discrepancy Note:
 * - Client board prints hex #D9F2B4 under the third color circle, while the circle's visual swatch
 *   renders closer to muted sage (#A8BA92). Both tokens are preserved separately below without
 *   silently discarding either. The official logo sage green remains #A3A888.
 */

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

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

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

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

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

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

@font-face {
  font-family: "Ashian Wordmark";
  src: url("../assets/fonts/NotoSerifDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

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

:root {
  /* Official Primary Brand Colors */
  --ashian-olive: #4C5133;
  --ashian-olive-deep: #3A3E26;
  --ashian-olive-soft: #636947;
  --ashian-sage-logo: #A3A888;
  --ashian-bg: #F6F7F8;

  /* Additional Client Palette */
  --ashian-cream: #FAEDCD;
  --ashian-cream-soft: #FDF6E5;
  --ashian-orange: #FF6000;
  --ashian-orange-soft: rgba(255, 96, 0, 0.12);
  --ashian-white: #FFFFFF;
  --ashian-gray: #777777;

  /* Documented Sage Discrepancy Tokens (Preserved Separately) */
  --ashian-sage-token: #D9F2B4;
  --ashian-sage-visual: #A8BA92;

  /* Semantic Surface & Ink Hierarchy */
  --color-bg: var(--ashian-bg);
  --color-surface: var(--ashian-white);
  --color-warm: var(--ashian-cream);
  --color-warm-tint: var(--ashian-cream-soft);
  --color-primary: var(--ashian-olive);
  --color-secondary: var(--ashian-sage-logo);
  --color-accent: var(--ashian-orange);
  --color-ink: #1F241A;
  --color-ink-soft: #3D4235;
  --color-muted: #64685E;
  --color-gray: var(--ashian-gray);

  /* Borders & Hairlines */
  --line-subtle: rgba(76, 81, 51, 0.12);
  --line-medium: rgba(76, 81, 51, 0.22);
  --line-on-dark: rgba(246, 247, 248, 0.16);
  --glass-bg: rgba(246, 247, 248, 0.78);
  --glass-border: rgba(76, 81, 51, 0.14);

  /* Typography */
  --font-sans: "Ashian Sans", "Vazirmatn", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --font-editorial: "Ashian Editorial", "Noto Naskh Arabic", "Ashian Sans", serif;
  --font-wordmark: "Ashian Wordmark", "Cormorant Garamond", "Noto Serif Display", Georgia, serif;

  /* Responsive Type Scale (clamp) */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --text-3xl: clamp(2.125rem, 1.5rem + 2.4vw, 3.35rem);
  --text-hero: clamp(2.2rem, 1.45rem + 3.1vw, 3.85rem);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 8px 30px rgba(31, 36, 26, 0.05);
  --shadow-card: 0 14px 40px rgba(31, 36, 26, 0.06);
  --shadow-float: 0 18px 50px rgba(31, 36, 26, 0.1);

  /* Layout Rhythm */
  --container-max: 1320px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 3.5vw, 3.5rem);
  --section-py: clamp(4.5rem, 8vw, 7.5rem);

  /* Motion Easings & Durations */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-mid: 420ms;
  --dur-slow: 800ms;
}
