/* World Embrace design tokens
   Measured from the capture of worldembrace.org (computed styles, the site's own color variables and the full-page pictures).
   Decided: names by role, values kept exactly as the live site paints them. */

:root {
  /* Color. Measured: the teal fills 7.5% of the page picture and every heading box, button and footer heading;
     deep red sets the mission paragraphs; mid gray sets the nav and park copy; orange draws the stat circle;
     yellow draws the footer rule. Decided: keep all of them as they are. */
  --color-teal: #00bbd3;          /* brand accent: heading boxes, buttons, intro strip, footer headings */
  --color-teal-light: #71d5e2;    /* the site's lighter teal (its color 17); not painted on the home page */
  --color-deep-red: #4b0d0d;      /* body copy in the mission bands. 15.4:1 on white */
  --color-gray: #555555;          /* nav and park copy. 7.5:1 on white */
  --color-gray-light: #999999;    /* copyright line. 2.9:1 on white, under 4.5:1: kept as live, offered as a fix */
  --color-orange: #f2682a;        /* stat circle */
  --color-red: #e12726;           /* MISSION & VISION heading band on About Us */
  --color-blue: #3d9be9;          /* the Why Unity? subheading */
  --color-gray-mid: #808080;      /* mailing addresses. 3.9:1 on white: kept as live */
  --color-yellow: #ffcf01;        /* footer top rule */
  --color-ink: #000000;           /* footer links. 21:1 on white */
  --color-paper: #ffffff;         /* page ground */
  --color-paper-soft: #fafafa;    /* text on the teal strip and the stat circle */
  --color-disabled: #cccccc;      /* disabled button fill, the site's own value */
  /* Contrast notes: white on teal is 2.3:1 and white on orange is 3.1:1; both are the live site's look, kept, and offered as fixes. */
  --color-focus: #4b0d0d;         /* focus ring, deep red: 15.4:1 on white, 6.6:1 on teal */

  /* Type. Measured: two Avenir cuts carry every visible word (Light 35 and Heavy 85, both loaded at 400 only;
     the site asks for 700 on Light and the browser thickens it, which is part of the look, so it is kept).
     Display lines are Heavy in capitals with wide tracking. Decided: one role per measured size, no rounding. */
  --font-light: "avenir-lt-w01_35-light1475496", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-heavy: "avenir-lt-w01_85-heavy1475544", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;

  --size-display: 48px;     /* UNITY THROUGH COMMUNITY */
  --size-display-phone: 30px; /* the same line on a phone, decided so it fits 390 */
  --size-title: 34px;       /* WHO ARE WE? and the other band labels */
  --size-title-phone: 24px; /* band labels on a phone, decided */
  --size-title-sm: 32px;    /* GULU COMMUNITY PARK */
  --size-footer-head: 24px; /* connect, get to know us */
  --size-lead: 22px;        /* Giving youth a place to */
  --size-nav: 20px;         /* WHY UNITY? and the menu */
  --size-intro: 18px;       /* intro strip paragraph, stat circle */
  --size-link: 17px;        /* footer links */
  --size-body: 16px;        /* paragraphs and buttons */
  --size-small: 14px;       /* copyright */

  --weight-regular: 400;
  --weight-bold: 700;

  --leading-display: 1.4;   /* 48/67.2, 34/47.6, 32/44.8, 22/30.8 as measured */
  --leading-body: 22px;     /* 16 px paragraphs, 22 px apart in the picture */
  --leading-intro: 22px;    /* 18 px intro paragraph */
  --leading-stat: 24px;     /* stat circle lines */
  --leading-tight: 1.2;     /* footer links and headings */

  --tracking-display: 0.2em;  /* 9.6 px at 48, 6.4 px at 32 */
  --tracking-title: 0.1em;    /* 3.4 px at 34, 2.2 px at 22 */
  --tracking-body: 0.05em;    /* 0.8 px at 16, 0.9 px at 18 */

  /* Space. Measured: a 980 px site column, centered; gaps in the bands fall near 4 px steps. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --container: 980px;
  --gutter: 20px;           /* phone side margin, decided */

  /* Shape. Measured: buttons have softly rounded corners; boxes and pictures are square. */
  --radius-button: 10px;
  --radius-none: 0;
  --radius-round: 50%;

  /* Elevation. Measured: the footer casts a soft shadow up onto the page. */
  --shadow-footer: 0 0 5px rgba(0, 0, 0, 0.7);

  /* Motion. Measured: the buttons fade their color over 0.4 s. */
  --ease: ease;
  --duration: 0.4s;

  /* Controls. Decided: a 44 px minimum target on phones. */
  --target-min: 44px;
}
