/* Green Pastures Austin design system: tokens.css (v1.0, 2026-12-03)
   Built from the capture of greenpasturesaustin.com at 1440 and 390.
   Every value below was measured on the live site (its :root variables and computed styles)
   unless a comment says "decided". */

:root {
  /* ===== Color =====
     Measured: four brand greens from the site's own :root (--gb_forest, --gb_rosemary,
     --gb_mint, --gb_teal), the near black body text, and white.
     Flat fills on the 1440 capture: mint 35.9%, rosemary 20.1%, forest 7.5%.
     Decided: names by role; nothing new was added to the palette. */

  /* Brand */
  --color-forest: #13351b;        /* headings, links, primary buttons, footer ground */
  --color-rosemary: #61784e;      /* the green band ("Stay among the Trees") */
  --color-mint: #d1decc;          /* page ground, the signature */
  --color-teal: #77a389;          /* alert bar tag only */
  --color-white: #ffffff;
  --color-ink: #1d1d1d;           /* body text */
  --color-gray: #606364;          /* secondary text on white */

  /* Tints the site writes (alpha) */
  --color-forest-24: rgba(19, 53, 27, .24);   /* hairlines on mint, the close ring */
  --color-forest-62: rgba(19, 53, 27, .62);
  --color-mint-24: rgba(209, 222, 204, .24);  /* dividers on rosemary and forest */
  --color-mint-62: rgba(209, 222, 204, .62);  /* booking field hover */
  --color-ink-10: rgba(29, 29, 29, .1);       /* booking bar shadow */
  --color-ink-30: rgba(29, 29, 29, .3);       /* placeholder on white */
  --color-white-65: rgba(255, 255, 255, .65); /* footer links at 1440 */
  --color-white-80: rgba(255, 255, 255, .8);  /* footer address, contact, links at 390 */
  --color-white-10: rgba(255, 255, 255, .1);  /* header rule over photos */

  /* Roles */
  --color-page: var(--color-mint);
  --color-text: var(--color-ink);
  --color-heading: var(--color-forest);
  --color-link: var(--color-forest);
  --color-on-dark: var(--color-white);
  --color-focus: var(--color-forest);         /* decided: focus ring on light tones */
  --color-focus-on-dark: var(--color-mint);   /* decided: focus ring on forest, rosemary, photos */

  /* Contrast, measured with the WCAG formula:
     forest on mint 9.7:1; ink on mint 12.1:1; forest on white 13.5:1;
     white on rosemary 4.9:1 (AA for body text); mint on rosemary 3.5:1 (focus ring only);
     mint on forest 9.7:1; white 80% on forest 9.2:1; white 65% on forest 6.6:1;
     forest on teal 4.8:1 (alert tag);
     ink 30% placeholder on white 1.9:1: placeholder only, the field keeps a label for screen readers. */

  /* Band gradients the site writes */
  --gradient-mint-to-rosemary: linear-gradient(180deg, var(--color-mint), var(--color-rosemary));
  --gradient-rosemary-to-mint: linear-gradient(180deg, var(--color-rosemary), var(--color-mint));

  /* ===== Type =====
     Measured: two families, both self-hosted by the site.
     Nyght Serif (display): 400 for h1/h2, 500 for card titles, footer line, arrow links.
     Manrope (text): 400 body, 420 alert text, 500 labels, 600 buttons, 700 nav.
     Sizes are the site's own fluid formulas (clamp between 390 and 1440); each role
     notes what it measures at 1440 / 390. */
  --font-display: "Nyght Serif", Georgia, serif;
  --font-text: "Manrope", Arial, sans-serif;

  --weight-regular: 400;
  --weight-alert: 420;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --size-display: clamp(56px, calc(3.5rem + 10.9966vw - 84.45389px), 120px);  /* 120 / 56, the h1 */
  --size-h2: clamp(36px, calc(2.25rem + 4.811vw - 36.94848px), 64px);          /* 64 / 36 */
  --size-h3: clamp(30px, calc(1.875rem + 3.0928vw - 23.7527px), 48px);         /* 48 / 30, card titles */
  --size-h4: clamp(26px, calc(1.625rem + 1.7182vw - 13.19578px), 36px);        /* 36 / 26, footer line */
  --size-body: clamp(16px, calc(1rem + 0.3436vw - 2.63885px), 18px);           /* 18 / 16 */
  --size-label-lg: clamp(18px, calc(1.125rem + 0.3436vw - 2.63885px), 20px);   /* 20 / 18 */
  --size-label-md: clamp(16px, calc(1rem + 0.3436vw - 2.63885px), 18px);       /* 18 / 16 */
  --size-label-sm: clamp(15px, calc(0.9375rem + 0.1718vw - 1.31942px), 16px);  /* 16 / 15 */
  --size-nav: 20px;            /* desktop nav and mobile menu */
  --size-arrow-link: 18px;     /* arrow links, 16 under 992 */
  --size-arrow-link-sm: 16px;
  --size-alert: 16px;          /* alert bar text, 14 under 768 */
  --size-alert-sm: 14px;
  --size-mini: 14px;           /* captions, footer bottom, alert tag */
  --size-eyebrow: 12px;        /* uppercase labels */

  --leading-100: 1;
  --leading-110: 1.1;
  --leading-120: 1.2;
  --leading-124: 1.24;
  --leading-130: 1.3;
  --leading-140: 1.4;
  --leading-180: 1.8;

  --tracking-normal: 0;
  --tracking-tight-1: -0.01em;
  --tracking-tight-2: -0.02em;

  /* ===== Space =====
     Measured: the site's fluid spacer scale (its gl-s spacers). Name = size at 1440. */
  --space-2: 4px;
  --space-8: 8px;
  --space-12: clamp(10px, calc(0.625rem + 0.3436vw - 2.63885px), 12px);
  --space-16: clamp(14px, calc(0.875rem + 0.3436vw - 2.63885px), 16px);
  --space-20: clamp(16px, calc(1rem + 0.6873vw - 5.27846px), 20px);
  --space-24: clamp(18px, calc(1.125rem + 1.0309vw - 7.91731px), 24px);
  --space-30: clamp(22px, calc(1.375rem + 1.3746vw - 10.55693px), 30px);
  --space-36: clamp(28px, calc(1.75rem + 1.3746vw - 10.55693px), 36px);
  --space-52: clamp(38px, calc(2.375rem + 2.4055vw - 18.47424px), 52px);
  --space-80: clamp(50px, calc(3.125rem + 5.1546vw - 39.58733px), 80px);
  --space-128: clamp(64px, calc(4rem + 10.9966vw - 84.45389px), 128px);
  --space-156: clamp(72px, calc(4.5rem + 14.433vw - 110.84544px), 156px);
  --space-200: clamp(82px, calc(5.125rem + 20.2749vw - 155.71123px), 200px);
  --space-236: clamp(92px, calc(5.75rem + 24.7423vw - 190.02086px), 236px);

  /* ===== Layout =====
     Measured: one container, 1320 content + 30 gutters (20 under 1221). */
  --container: 1380px;
  --gutter: 30px;
  --gutter-sm: 20px;

  /* ===== Shape =====
     Measured: everything interactive is a full pill or the scalloped circle;
     photos are square-cornered, often with a notch cut out (clip-path). */
  --radius-pill: 300px;
  --radius-none: 0;
  --notch: 139px;            /* corner notch on story photos at 1440 */
  --notch-sm: 99px;
  --ring-mint: 0 0 0 3px var(--color-mint);   /* white field inside a mint ring */
  --shadow-float: 0 4px 20px var(--color-ink-10);

  /* ===== Motion =====
     Measured: the site's eases. */
  --ease-out: cubic-bezier(.22, 1, .36, 1);     /* pill buttons pinch in on hover */
  --ease-soft: cubic-bezier(.25, 1, .5, 1);     /* scallop turns, arrow slides */
  --dur-fast: .3s;
  --dur-mid: .6s;
  --dur-slow: 1s;

  /* ===== Layers ===== measured from the site's z scale */
  --z-band: 1;
  --z-sticky: 55;
  --z-header: 99;
  --z-menu: 999;
}
