/* Green Pastures Austin design system: tokens.css, version 1.0, 2026-12-04
   Everything here was measured from the capture of greenpasturesaustin.com (the live
   :root variables, the computed colors and the full-page pictures at 1440 and 390).
   Names keep the site's own color names: forest, rosemary, mint, teal. */

:root {
  /* ---- Color ----------------------------------------------------------------
     Measured: page fill #D1DECC (48% of the picture at 1440), rosemary #61784E (16%),
     forest #13351B (6%); body text #1D1D1D; the banner tag #77A389.
     Decided: keep every value as the site writes it; add role names on top. */
  --gp-forest: #13351b;          /* deep green: headings, buttons, footer */
  --gp-rosemary: #61784e;        /* mid green: the "Stay" band */
  --gp-mint: #d1decc;            /* light green: the page itself */
  --gp-teal: #77a389;            /* banner tag */
  --gp-ink: #1d1d1d;             /* body copy */
  --gp-white: #ffffff;
  --gp-off-white: #f7f7f7;

  --gp-forest-62: rgba(19, 53, 27, 0.62);
  --gp-forest-24: rgba(19, 53, 27, 0.24);
  --gp-mint-24: rgba(209, 222, 204, 0.24);
  --gp-white-80: rgba(255, 255, 255, 0.8);
  --gp-white-65: rgba(255, 255, 255, 0.65);
  --gp-white-10: rgba(255, 255, 255, 0.1);
  --gp-ink-30: rgba(29, 29, 29, 0.3);
  --gp-ink-10: rgba(29, 29, 29, 0.1);
  --gp-ink-80: rgba(29, 29, 29, 0.8);

  /* Roles, with contrast measured against the surface they sit on */
  --color-page: var(--gp-mint);
  --color-heading: var(--gp-forest);       /* forest on mint 9.68:1 */
  --color-text: var(--gp-ink);             /* ink on mint 12.07:1 */
  --color-accent: var(--gp-forest);
  --color-on-accent: var(--gp-mint);       /* mint on forest 9.68:1 */
  --color-band-rosemary: var(--gp-rosemary);
  --color-on-rosemary: var(--gp-white);    /* white on rosemary 4.88:1 */
  --color-footer: var(--gp-forest);
  --color-footer-link: var(--gp-white-65); /* 6.59:1 on forest */
  --color-footer-link-strong: var(--gp-white-80); /* 9.22:1 on forest */
  --color-tag: var(--gp-teal);             /* forest on teal 4.76:1 */
  --color-field: var(--gp-white);
  --color-placeholder: var(--gp-ink-30);   /* placeholder only, never a label */
  --color-rule-on-dark: var(--gp-mint-24);
  --color-focus: var(--gp-forest);         /* focus ring on light surfaces */
  --color-focus-on-dark: var(--gp-mint);   /* focus ring on forest and rosemary */

  /* Gradients the site places between bands (80px tall dividers) */
  --gradient-mint-to-rosemary: linear-gradient(180deg, #d1decc, #61784e);
  --gradient-rosemary-to-mint: linear-gradient(180deg, #61784e, #d1decc);
  --gradient-header-shade: linear-gradient(180deg, rgba(29, 29, 29, 0.82), rgba(29, 29, 29, 0.74) 60%, rgba(29, 29, 29, 0));

  /* ---- Type -----------------------------------------------------------------
     Measured: two families, both self-hosted by the site. Nyght Serif (400, 500)
     sets every heading; Manrope (400 to 700) sets body, labels, buttons and menus.
     Sizes are the site's own fluid formulas; the value at 1440 / 390 is noted. */
  --font-display: "Nyght Serif", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --weight-regular: 400;
  --weight-book: 420;      /* the banner sentence */
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --size-display: clamp(56px, calc(3.5rem + 10.9966vw - 84.45389px), 120px);  /* 120 / 56: home 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: Rooms, Dining, Events */
  --size-h4: clamp(26px, calc(1.625rem + 1.7182vw - 13.19578px), 36px);       /* 36 / 26: footer sign-up line */
  --size-h6: clamp(20px, calc(1.25rem + 1.3746vw - 10.55693px), 28px);        /* 28 / 20: menu cards */
  --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-label-mini: 14px;
  --size-eyebrow: 12px;
  --size-nav: 20px;        /* desktop menu */
  --size-banner: 16px;     /* banner sentence (14 under 768) */
  --size-arrow-link: 18px; /* serif link beside the scalloped arrow (16 under 992) */

  --leading-none: 1;
  --leading-heading-2: 1.1;
  --leading-tight: 1.24;
  --leading-label: 1.3;
  --leading-snug: 1.4;
  --leading-body: 1.8;

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

  /* ---- Space ----------------------------------------------------------------
     Measured: the site's 19-step fluid scale (--gb_space_1 to 19); the steps the
     home uses are kept under the pixel size they reach at 1440. */
  --space-2: clamp(1px, 0.125rem, 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-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);
  --divider-height: 80px;  /* gradient between bands */

  /* ---- Layout ---------------------------------------------------------------
     Measured: content column 1320 wide inside 30px gutters (20px under 1270). */
  --container: 1380px;
  --gutter: 30px;
  --gutter-narrow: 20px;

  /* ---- Shape ----------------------------------------------------------------
     Measured: pills (300px radius) for the banner, booking bar, sign-up field and
     buttons; square corners on every photo. The scalloped seal is the signature. */
  --radius-pill: 300px;
  --radius-round: 50%;
  --radius-none: 0;
  --ring-mint: 0 0 0 3px var(--gp-mint);
  --shadow-float: 0 4px 20px var(--gp-ink-10);

  /* ---- Motion ---------------------------------------------------------------
     Measured: the scallop turns 120deg over 1s; buttons pinch inward over .6s. */
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-pinch: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-base: 0.3s;
  --dur-slow: 0.6s;
  --dur-scallop: 1s;

  /* ---- Layers ---------------------------------------------------------------*/
  --z-booking: 55;
  --z-header: 99;
  --z-menu: 999;
}
