/* Higher Park Lodge - design tokens
   One home: Higher Park Lodge, Devonport Park, Stoke, Plymouth PL1 4BT.
   Tier: Homely. Refresh page set, finished to the gratwick-standard.
   Type: T1 Hearth - Fraunces 500/600 (display, true italics) + Nunito Sans 400-800 (body).

   THE PALETTE, AND WHY IT IS REUSED
   These are the "Millstone & Moor" values first derived for Briercliffe Lodge, reused
   here on Jon's instruction (16 Sep 2026). For a home that sits in Devonport Park that
   is not recycling, it is the right answer: a moorland green that reads as trees and
   grass, a warm paper ground, and a honey accent that keeps the green from going cold.
   Briercliffe is in Barnoldswick, Lancashire, 300 miles away, and is never shown
   alongside this site. The portfolio-adjacent build is Yelverton Care (Plympton), which
   is ivory and antique gold with Cormorant and Cinzel, so first paint is clearly different.

   Three rules keep it legible:
     1. GREEN CARRIES TEXT, HONEY CARRIES ACTION. --primary-ink is the text green,
        --cta is the only filled button colour, and the italic heading word on light
        bands takes the honey.
     2. THE ORNAMENT GOLD IS ORNAMENT ONLY. --accent-line measures 2.85:1 on paper, so it
        draws the leaf, hairlines and icon flourishes, and never sets a word of text.
     3. PURE WHITE IS NEVER A PAGE GROUND. The paper is warm; white survives as --card.

   Every ratio below was computed for THIS token set (WCAG relative luminance), 16 Sep 2026:
     ink on surface / band-tint / accent-tint / card        12.92 / 11.99 / 12.12 / 13.70
     ink-soft on surface / band-tint / accent-tint / card     5.88 /  5.46 /  5.51 /  6.24
     primary-ink on surface / band-tint / accent-tint         9.30 /  8.63 /  8.72
     primary on surface / band-tint                           6.69 /  6.20
     gold-ink on surface / band-tint / accent-tint            7.30 /  6.77 /  6.84
     cta (as text) on surface / band-tint / accent-tint       5.15 /  4.78 /  4.83
     white on cta / cta-hover / primary-deep                  5.46 /  7.26 / 13.75
     accent-soft / serif-hi on primary-deep                   8.45 /  8.17
     accent-line on surface                                   2.85  <- ORNAMENT ONLY
   Body text needs >=4.5:1 and large text >=3:1. Every text token clears its floor. */
:root{
  /* ---- palette: moorland green + honey millstone on warm paper ---- */
  --primary:      #41603C;   /* moorland green. Large surfaces, the leaf mark on paper, chips */
  --primary-ink:  #2E4A2B;   /* the green walked down for text and links. 9.30:1 on surface */
  --primary-deep: #22311F;   /* deep park green. Footer, deep bands, the hero field, the veil */
  --band-tint:    #EEF1E8;   /* green at a whisper over paper. The alternating band */
  --accent-tint:  #FAF0DD;   /* honey at a whisper. The warm band */
  --surface:      #FBF8F2;   /* warm paper, never white */
  --card:         #FFFFFF;   /* white survives here only, inside the paper */
  --ink:          #2A2F26;   /* near-black tinted toward the green, never #000 */
  --ink-soft:     #5C6354;   /* 5.88:1 on surface, 5.46:1 on the tint band */

  /* Actions. White on the honey is 5.46:1, so buttons keep white labels. */
  --cta:          #9A5A17;
  --cta-hover:    #7F4A12;   /* hover deepens the fill, label rises to 7.26:1 */
  --btn-ink:      #FFFFFF;

  /* Names the shared library still reads, mapped onto this palette */
  --sea-ink:      #75490D;   /* accent TEXT on light bands (links in running copy). 7.30:1 */
  --gold-ink:     #75490D;   /* small-caps labels, error text, certificate org line */
  --accent-line:  #C08A3E;   /* the leaf, hairline ornaments, icon flourishes. Never text */
  --accent-soft:  #E8C68F;   /* accent text on the deep green (8.45:1) */
  /* ROUND 4: the same two values as rgb triples, so the ported sx set can set its own
     alphas (hairline glows, medallion rings) without a literal hex ever appearing in
     base.css. Craft floor: no palette values outside this file. */
  --accent-line-rgb: 192,138,62;
  --accent-soft-rgb: 232,198,143;
  --serif-hi:     #EFC077;   /* the italic hero word over the dark field (8.17:1 flat;
                                measured over the rendered hero in QA, see BUILD_NOTES) */
  --accent-on-photo: #EFC077;/* library alias of the above */
  --good:         #2C6B3E;   /* the library certificate's Good tick. Not drawn on this site:
                                every area is Requires improvement, which uses --mixed */
  --cqc-good:     #2C6B3E;
  --mixed:        #7E4F16;   /* "Requires improvement" on the CQC certificate (Jon, 17 Sep:
                                the Yelverton template). 6.96:1 on the card, 6.57:1 on paper,
                                6.09:1 on the tint band. Muted amber-brown, quieter than the
                                CQC's own amber so we never borrow their trade dress. */

  /* ---- component tints (the library reads these instead of literals) ---- */
  --ph-bloom:      rgba(192,138,62,.20);
  --ph-bloom-0:    rgba(192,138,62,0);
  --field-bloom-a: rgba(94,130,84,.50);   /* a soft lift of green light in the hero field */
  --field-bloom-a0:rgba(94,130,84,0);
  --field-bloom-b: rgba(232,198,143,.16); /* a faint honey warmth low in the field */
  --field-bloom-b0:rgba(232,198,143,0);
  --nav-solid:     rgba(251,248,242,.95); /* the bar once scrolled: surface at 95% */

  --focus-ring:   rgba(65,96,60,.40);     /* form-field focus halo */
  --rule:         rgba(42,47,38,.12);
  --shadow-rgb:   34,49,31;
  --scrim:        linear-gradient(180deg, rgba(34,49,31,.74) 0%, rgba(34,49,31,.63) 42%, rgba(34,49,31,.88) 100%);
  --scrim-deep:   linear-gradient(180deg, rgba(34,49,31,.86) 0%, rgba(34,49,31,.78) 42%, rgba(34,49,31,.93) 100%);

  /* ---- type ---- */
  --brand:   "Fraunces", Georgia, "Times New Roman", serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- width system (shared across the library) ---- */
  --w1: clamp(16px, 5.2vw, 92px);
  --w2: calc(var(--w1) * 2);
  --hold: 1300px;

  /* ---- scale: Homely - soft radius, lifted shadow, cosier density ---- */
  --sp: clamp(4.4rem, 8.6vw, 6.6rem);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 40px 80px -50px rgba(34,49,31,.5);
  --shadow-sm: 0 20px 44px -28px rgba(34,49,31,.42);
  --ease: cubic-bezier(.22,.61,.36,1);
}
