/* Green Pastures design system: tokens.css (1.0, 2026-12-04)
   Every value here was measured from the capture of greenpasturesaustin.com
   (its stylesheets' own :root variables and the computed styles), then named by role.

   COLOR
   Measured: the site's palette variables forest #13351b, mint #d1decc, rosemary #61784e,
   teal #77a389, neutral black #1d1d1d, off white #f7f7f7, white, black-2 #606364,
   and the alpha tints forest 24/62, mint 24/62, black 10/30, white 65/80.
   Decided: kept every value as is; named them by role. Paper is mint (the page
   background), ink is forest. Contrast ratios are noted beside each pair. */
:root {
  /* Brand colors, the client's own */
  --color-forest: #13351b;      /* ink: headings, links, dark bands */
  --color-mint: #d1decc;        /* paper: page background, light text on forest */
  --color-rosemary: #61784e;    /* the mid-green band (Stay among the Trees) */
  --color-teal: #77a389;        /* the announcement tag only */
  --color-neutral-black: #1d1d1d; /* body copy */
  --color-gray: #606364;        /* small eyebrow on white panels */
  --color-white: #ffffff;
  --color-off-white: #f7f7f7;

  /* Tints, as the site writes them */
  --color-forest-24: rgba(19, 53, 27, .24);   /* hairlines on light */
  --color-forest-62: rgba(19, 53, 27, .62);
  --color-mint-24: rgba(209, 222, 204, .24);  /* hairlines on rosemary and forest */
  --color-mint-62: rgba(209, 222, 204, .62);  /* hover wash on white fields */
  --color-black-10: rgba(29, 29, 29, .1);     /* soft shadow */
  --color-black-30: rgba(29, 29, 29, .3);     /* placeholder on white (decorative only) */
  --color-white-10: rgba(255, 255, 255, .1);  /* header rule over the photo */
  --color-white-65: rgba(255, 255, 255, .65); /* footer links at rest */
  --color-white-80: rgba(255, 255, 255, .8);  /* footer address and contact */
  --color-danger: #dc3545;
  --color-mint-wash: #f4f7f3;                 /* the right column of the Stay menu */

  /* Roles */
  --paper: var(--color-mint);
  --ink: var(--color-forest);
  --text: var(--color-neutral-black);
  --surface: var(--color-white);
  --band-dark: var(--color-forest);
  --band-mid: var(--color-rosemary);
  --focus: var(--color-forest);          /* ring on light tones */
  --focus-on-dark: var(--color-white);   /* ring on forest and rosemary */

  /* Contrast, computed from the values above:
     forest on mint 9.7:1; neutral black on mint 12.1:1; forest on white 13.5:1;
     white on rosemary 4.9:1 (AA for body copy); mint on forest 9.7:1;
     white 65% on forest 6.6:1; white 80% on forest 9.2:1; forest on teal 4.8:1.
     Kept from the site although under the bar: the email placeholder (black 30% on white,
     1.9:1) and the hairlines (forest 24% on white 1.6:1, mint 24% on rosemary 1.4:1),
     which are decorative; the field also has a visible button and a spoken name. */

  /* Gradients the bands use at their edges */
  --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));
  --gradient-header-shade: linear-gradient(180deg, rgba(29, 29, 29, .82), rgba(29, 29, 29, .74) 60%, rgba(29, 29, 29, 0));
}

/* TYPE
   Measured: two families. Nyght Serif (400, 500) for display and headings;
   Manrope (400, 500, 600, 700; 420 is asked for in the announcement and falls back to 400)
   for body, labels and buttons. Sizes are fluid between 390 and 1440 with the site's
   own formulas, so the scale lands on the measured sizes at both widths:
   display 120/56, h2 64/36, h3 48/30, h4 36/26, body 18/16, label-lg 20/18,
   label-md 18/16, label-sm 16/15, label-mini 14, eyebrow 12.
   Decided: kept the formulas exactly; named them as roles. */
:root {
  --font-serif: "Nyght Serif", Georgia, serif;
  --font-sans: "Manrope", Arial, sans-serif;

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

  --size-display: clamp(56px, calc(3.5rem + 10.9966vw - 84.45389px), 120px);  /* hero headline */
  --size-h2: clamp(36px, calc(2.25rem + 4.811vw - 36.94848px), 64px);         /* section headings */
  --size-h3: clamp(30px, calc(1.875rem + 3.0928vw - 23.7527px), 48px);        /* card titles */
  --size-h4: clamp(26px, calc(1.625rem + 1.7182vw - 13.19578px), 36px);       /* footer statement */
  --size-h6: clamp(20px, calc(1.25rem + 1.3746vw - 10.55693px), 28px);        /* menu titles */
  --size-body: clamp(16px, calc(1rem + 0.3436vw - 2.63885px), 18px);
  --size-label-lg: clamp(18px, calc(1.125rem + 0.3436vw - 2.63885px), 20px);
  --size-label-md: clamp(16px, calc(1rem + 0.3436vw - 2.63885px), 18px);
  --size-label-sm: clamp(15px, calc(0.9375rem + 0.1718vw - 1.31942px), 16px);
  --size-label-mini: 14px;
  --size-eyebrow: 12px;
  --size-nav: 20px;
  --size-announce: 16px;
  --size-arrow-link: 18px;

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

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

/* SPACE
   Measured: the site's spacer scale (2 to 236), fluid between 390 and 1440.
   Decided: kept as is; names say the size each reaches at 1440. */
:root {
  --space-2: 1px;
  --space-4: 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-44: clamp(32px, calc(2rem + 2.0619vw - 15.83539px), 44px);
  --space-52: clamp(38px, calc(2.375rem + 2.4055vw - 18.47424px), 52px);
  --space-64: clamp(44px, calc(2.75rem + 3.4364vw - 26.39155px), 64px);
  --space-80: clamp(50px, calc(3.125rem + 5.1546vw - 39.58733px), 80px);
  --space-96: clamp(56px, calc(3.5rem + 6.8729vw - 52.78387px), 96px);
  --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);
}

/* CONTAINER AND GRID
   Measured: content wrapper 1380 max with 30 px gutters (20 px under 1220), so text
   runs 1320 wide at 1440. Header the same. Breakpoints the site uses: 575, 767, 991, 1220, 1269. */
:root {
  --container: 1380px;
  --gutter: 30px;
  --gutter-small: 20px;
  --header-height: 132px; /* announcement plus nav row at 1440 */
}

/* RADII, SHADOWS, MOTION
   Measured: pills (300 px), round icon buttons (50%), 24 px popover, 12 px phone sheets,
   square photos (0). Shadows 0 4px 20px black 10%. Motion .3 s ease-in-out on links,
   .6 s cubic-bezier(.22,1,.36,1) on the pill "pinch", 1 s on the arrow slide. */
:root {
  --radius-pill: 300px;
  --radius-round: 50%;
  --radius-popover: 24px;
  --radius-sheet: 12px;
  --radius-photo: 0;

  --shadow-float: 0 4px 20px var(--color-black-10);
  --shadow-popover: 0 8px 8px var(--color-black-10);

  --ease: ease-in-out;
  --ease-pinch: cubic-bezier(.22, 1, .36, 1);
  --ease-arrow: cubic-bezier(.25, 1, .5, 1);
  --duration-fast: .2s;
  --duration: .3s;
  --duration-slow: .6s;
  --duration-arrow: 1s;

  --z-header: 60;
  --z-booking: 55;
}
