/* Aquarius Lodge, Cliftonville, Margate - design tokens
   Tier: Homely. Preset: Nightingale (cloned engine). Type set T2 "Letter": Lora + Source Sans 3.

   PROPOSED BRAND, "Walpole Bay" (BUILD_PLAN 2.1). The home has no logo, colours or website,
   so this palette is a design proposal for Jon to sign off, not a sampled brand. The name is
   the water-bearer and the house is a short walk up the hill from the Cliftonville sea, so the
   primary is a deep, slightly green sea-teal (warm, never clinical blue) and the call to action
   is a warm sand-amber, the colour of Walpole Bay at low tide.
   Portfolio distance: mg-care-homes (Kent) is slate #406070 + copper in Marcellus; this teal is
   greener and darker, the accent is sand not copper, and the type differs. Vitality's #1FA0A8
   is a bright turquoise; no clash. Every ratio below was computed (WCAG 2.x), 24 Sep 2026. */
:root{
  /* ---- palette: deep sea teal + warm sand on warm paper ---- */
  --primary:      #1F5560;   /* sea teal: large surfaces, icon fields, chips. White on it 8.31:1 */
  --primary-ink:  #1A4750;   /* text and links: 9.60 surface, 8.71 band-tint, 8.85 accent-tint */
  --primary-deep: #10303A;   /* footer, deep bands, veil. White on it 13.95:1 */
  --band-tint:    #E6EFEE;   /* teal at about 7% over the paper. Ink on it 11.72:1 */
  --accent-tint:  #F7EEDF;   /* the sand band. Ink on it 11.91:1 */
  --surface:      #FAF8F3;   /* warm paper, never white */
  --card:         #FFFFFF;
  --ink:          #22302F;   /* near black, tinted teal. 12.92:1 on surface */
  --ink-soft:     #55635F;   /* 5.93 surface, 5.38 band-tint, 5.47 accent-tint */

  /* Sand-amber is dark enough to carry a WHITE label (4.80:1), so buttons are white on
     sand, the opposite of Nightingale's ink-on-gold. Hover darkens (white 6.45:1). */
  --cta:          #A8602A;
  --cta-hover:    #8C4F20;
  --btn-ink:      #FFFFFF;
  --gold-ink:     #8C4F20;   /* sand-family TEXT on light bands (the engine's --gold-ink slot):
                                6.08 surface, 5.51 band-tint, 5.61 accent-tint, 6.45 card.
                                Added: the plan's table has no text-weight sand, and #A8602A
                                is only 4.17:1 on the sand band. */
  --accent-line:  #C9A063;   /* line art and hairline ornaments only, never text */
  --accent-soft:  #E9CC97;   /* accent text on deep bands: 9.00:1 on primary-deep */
  --accent-on-photo: #F1C97A;/* the italic hero word over the scrim: 8.88:1 on primary-deep;
                                worst hero pixel measured by qa-check (needs 3:1) */

  /* ---- the CQC certificate and plaque ---- */
  --cqc-good:     #19673F;   /* rating green on light bands: 6.88 card, 6.48 surface */
  --mixed:        #7E4F16;   /* "Requires improvement" amber: 6.96 card, 6.56 surface,
                                matched to the green so neither shouts */
  --cqc-good-deep:#82C9A2;   /* rating green on the footer plaque: 7.19 on primary-deep */
  --mixed-deep:   #E3B26B;   /* amber on the footer plaque: 7.20 on primary-deep */
  --good:         var(--cqc-good);

  --rule:         rgba(34,48,47,.13);
  --shadow-rgb:   16,48,58;
  --scrim:        linear-gradient(180deg, rgba(16,48,58,.72) 0%, rgba(16,48,58,.58) 45%, rgba(16,48,58,.86) 100%);
  --scrim-deep:   linear-gradient(180deg, rgba(16,48,58,.86) 0%, rgba(16,48,58,.78) 45%, rgba(16,48,58,.93) 100%);

  /* ---- type: T2 "Letter" ---- */
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

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

  /* ---- scale: Homely, unchanged from Nightingale ---- */
  --sp: clamp(4.5rem, 9vw, 7rem);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 40px 80px -50px rgba(16,48,58,.5);
  --shadow-sm: 0 20px 44px -28px rgba(16,48,58,.42);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* care-accordion frame: re-measured for THIS build's four panels (RP.1 range rule).
     The stepped values live in base.css (AQ block) after the RP.1 steps. */
  --ca-frame: 760px;
}
