/* =====================================================================
   FriendsSquare design tokens
   Structure, scale, spacing and motion: Leroux reference extraction
   (design-tokens.css). Colour: FriendsSquare's own brand values
   (from friendssquare.in /css/main.css :root), mapped onto the reference's
   colour *roles* — one deep ink, one muted accent, one pale tint.
   ===================================================================== */

@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/heebo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Heebo"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/heebo-latin-500-normal.woff2") format("woff2"); }

:root {
  /* ---- Colour: FriendsSquare brand → Leroux roles ------------------------
     Leroux role            Leroux value   FriendsSquare value (source)
     ink / CTA / headings   #20282d        #1a112b  --primaryColor
     main / hover / dark    #223035        #2a1f42  (ink, +1 step, for hover)
     body text              #263037        #3f3a4b  (darkened --textColor #52525c
                                                      for 15px body; 10.9:1 on white)
     emphasis words         #85979b        #7e6bb0  --light-theme
     ghost numerals         #bcc3c5        #d4cce9  (tint of --light-theme)
     tint band              #efefef        #f5f3fa  --themeBg
     active card / sage     #d5dede        #e4dff0  --borderColor
     hairline               #e2e2e2        #e4dff0  --borderColor                */
  --ink: #1a112b;
  --ink-2: #2a1f42;
  --ink-3: #120b1f;           /* footer: one step deeper, like #19272b in ref */
  --text: #3f3a4b;
  --text-muted: #5f5a6e;      /* meta / roles — 6.6:1 on white */
  --accent: #7e6bb0;          /* emphasis words (headings only: 4.55:1 on white) */
  --accent-strong: #5f4b99;   /* accent for small text: 7.0:1 on white */
  --accent-on-dark: #b9acdf;  /* emphasis on ink/photo: 8.7:1 on #1a112b */
  --ghost: #d4cce9;
  --tint: #f5f3fa;
  --tint-2: #e4dff0;
  --line: #e4dff0;
  --line-strong: #cfc6e3;
  --white: #ffffff;

  --glass: rgba(255,255,255,.14);
  --glass-border: rgba(255,255,255,.28);
  --on-dark-muted: rgba(255,255,255,.72);
  --shadow-header: 0 5px 5px 0 rgba(26,17,43,.05);
  --shadow-card: 1px 1px 10px 0 #ebe7f3;

  --focus: #7e6bb0;

  /* ---- Type (reference: DM Sans display / Heebo body) ---- */
  --font-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(64px, 6vw + 20px, 110px);
  --fs-h1: clamp(30px, 3.2vw + 19px, 60px);
  --fs-h2: clamp(30px, 1.6vw + 19px, 42px);
  --fs-h3: clamp(24px, 1vw + 18px, 32px);
  --fs-h4: clamp(20px, .6vw + 16px, 25px);
  --fs-h5: clamp(17px, .3vw + 15px, 20px);
  --fs-body: 15px;
  --fs-lead: clamp(16px, .3vw + 15px, 18px);
  --fs-small: 14px;
  --fs-caption: 13px;

  /* ---- Layout ---- */
  --container: 1400px;
  --gutter: clamp(22px, 5vw, 42px);    /* side padding: 42px desktop (ref), ~7% mobile */
  --header-h: 84px;
  --header-h-sticky: 70px;
  --topbar-h: 40px;

  /* ---- Spacing (reference scale) ---- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 40px; --s-8: 48px; --s-9: 60px; --s-10: 80px; --s-11: 100px; --s-12: 120px;
  --section-y: clamp(72px, 8vw, 120px);
  --gap: 40px;          /* gutter "medium" */
  --gap-lg: 60px;       /* gutter "extra-large" */

  /* ---- Shape ---- */
  --r-pill: 25px;
  --r-card: 7px;
  --r-round: 50%;

  /* ---- Motion (reference) ---- */
  --ease-draw: cubic-bezier(.51,.5,.07,.99);
  --ease-arrow: cubic-bezier(.37,.08,.02,.93);
  --ease-reveal: cubic-bezier(.57,.57,0,.97);
  --ease-panel: cubic-bezier(.77,0,.175,1);
  --t-ui: .27s;
  --t-draw: .4s;
  --t-tab: .6s;
  --t-image: .8s;
}
