/*
  AFA ACADEMY INDIA — DESIGN TOKENS
  Built to Manual_Marca_Comunicacion_AFAinternacional2026_EN (AFA Internacional, 2026).

  Palette: the INSTITUTIONAL palette is the site's chromatic foundation — the manual
  assigns it to "official, institutional and corporate communications… any touchpoint
  where AFA Internacional needs to present itself in its most formal dimension".
  Institutional blue is the dominant surface; institutional gold is the structural
  accent; institutional white carries light surfaces and text on blue.

  Communication yellow is used only as the manual itself uses it — highlighter bars
  behind section labels, and within the specified gradients. The brand mark is never
  rendered in communication-palette colours (manual p.39).

  Type: Big Shoulders for headlines, all caps, 8 degree slant simulating italics.
  Bitter for every long text block. No third typeface (manual p.15).
*/

:root {
  /* ---- Institutional palette (manual p.10) ---- */
  --inst-blue: #0f2d4c;      /* PANTONE 2188 C · RGB 15 45 76 */
  --inst-gold: #af986e;      /* PANTONE 7503 C · RGB 175 152 110 */
  --inst-white: #fbf1ef;     /* PANTONE 663 C */

  /* ---- Communication palette (manual p.37) — accents and gradients only ---- */
  --com-blue: #00539f;       /* PANTONE REFLEX BLUE */
  --com-lightblue: #3997f7;  /* PANTONE 2171 C */
  --com-yellow: #fffa7a;     /* PANTONE 393 C */

  /* ---- Surfaces ---- */
  --bg: var(--inst-blue);        /* THE site background */
  --bg-deep: #0a2039;            /* depth for gradients and overlays */
  --bg-wash: #14365a;            /* alternating band */
  --surface: #16395d;            /* elevated solid surface */
  --surface-2: #1b4269;          /* higher elevation / hover */
  --navy: var(--inst-blue);
  --navy-deep: #0a2039;

  /* Accents. Gold is the structural accent; light blue carries links and icons. */
  --gold: var(--inst-gold);
  --gold-soft: #c7b48f;
  --gold-deep: #8d7954;
  --blue-accent: var(--com-lightblue);
  --blue-accent-soft: #6fb4fa;
  --sky: var(--blue-accent-soft);
  --royal: var(--blue-accent);

  /* The former saffron accent is retired. These aliases now resolve to
     institutional gold so no component rule has to be renamed. */
  --saffron: var(--inst-gold);
  --saffron-soft: var(--gold-soft);
  --saffron-deep: var(--gold-deep);

  /* ---- Neutrals ---- */
  --white: #FFFFFF;
  --black: #000000;

  /* ---- Foreground: institutional white on institutional blue ---- */
  --ink: var(--inst-white);
  --ink-08: rgba(251, 241, 239, 0.08);
  --ink-12: rgba(251, 241, 239, 0.14);
  --ink-24: rgba(251, 241, 239, 0.26);
  --ink-45: rgba(251, 241, 239, 0.56);
  --ink-65: rgba(251, 241, 239, 0.74);
  --ink-85: rgba(251, 241, 239, 0.92);
  --mist-08: rgba(251, 241, 239, 0.08);
  --mist-12: rgba(251, 241, 239, 0.14);
  --mist-24: rgba(251, 241, 239, 0.26);
  --mist-45: rgba(251, 241, 239, 0.56);
  --mist-65: rgba(251, 241, 239, 0.74);
  --mist-85: rgba(251, 241, 239, 0.92);

  /* ---- Veils ---- */
  --veil-04: rgba(251, 241, 239, 0.045);
  --veil-06: rgba(251, 241, 239, 0.07);
  --veil-08: rgba(251, 241, 239, 0.09);
  --veil-12: rgba(251, 241, 239, 0.14);
  --veil-20: rgba(251, 241, 239, 0.22);
  --veil-35: rgba(251, 241, 239, 0.35);
  --veil-on-dark-12: rgba(255, 255, 255, 0.14);
  --veil-on-dark-20: rgba(255, 255, 255, 0.22);
  --veil-on-dark-35: rgba(255, 255, 255, 0.35);
  --pearl: rgba(251, 241, 239, 0.07);

  /* ---- Gradients, exactly as specified (manual p.40) ---- */
  --grad-1: linear-gradient(135deg, #fbf1ef 0%, #3997f7 25%, #0f2d4c 100%);
  --grad-2: linear-gradient(135deg, #3997f7 28%, #0f2d4c 100%);
  --grad-3: linear-gradient(135deg, #fffa7a 22%, #af986e 100%);
  --grad-4: linear-gradient(135deg, #fbf1ef 25%, #fffa7a 100%);
  --grad-5: linear-gradient(135deg, #3997f7 25%, #fffa7a 100%);
  --grad-6: linear-gradient(135deg, rgba(175,152,110,0) 25%, #af986e 100%);

  --gradient-sky: var(--grad-2);
  --gradient-sky-soft: linear-gradient(135deg, rgba(57,151,247,0.26) 0%, rgba(15,45,76,0.18) 100%);
  --gradient-bg: radial-gradient(120% 90% at 85% 0%, rgba(57,151,247,0.18), transparent 55%), radial-gradient(90% 70% at 8% 100%, rgba(175,152,110,0.14), transparent 60%);
  --gradient-saffron: var(--grad-3);
  --gradient-gold: var(--grad-3);
  /* The signature band pairs institutional blue with institutional gold. */
  --gradient-flag: linear-gradient(90deg, var(--com-lightblue) 0%, var(--inst-gold) 100%);

  /* ---- Typography (manual p.15) ---- */
  --font-heading: "Big Shoulders", "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-sub: "Bitter", Georgia, serif;
  --font-body: "Bitter", Georgia, serif;
  --head-slant: -8deg;      /* the manual's 8 degree slant, simulating italics */

  --fs-display: clamp(2.75rem, 3.2vw + 2rem, 5.5rem);
  --fs-h1: clamp(2.25rem, 2.4vw + 1.6rem, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.4vw + 1.3rem, 2.75rem);
  --fs-h3: clamp(1.35rem, 0.7vw + 1.1rem, 1.75rem);
  --fs-h4: clamp(1.1rem, 0.3vw + 1rem, 1.25rem);
  --fs-lead: clamp(1.05rem, 0.3vw + 0.95rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.75rem;

  /* ---- Spacing scale ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* ---- Radii (modern, restrained) ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ---- Shadows (dark institutional ground — lean on depth, not drop shadow) ---- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.28), 0 1px 3px rgba(0,0,0,0.22);
  --shadow-md: 0 12px 24px -8px rgba(0,0,0,0.48);
  --shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.58);
  --shadow-sky: 0 12px 28px -10px rgba(57,151,247,0.42);
  --shadow-saffron: 0 14px 32px -10px rgba(175,152,110,0.48);

  /* ---- Layout ---- */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 116px;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}
