/* Beyond Stays design tokens.
   Approved 20 August 2026, decisions log signed off by Matthew Thompson.
   Source: Brand System/CDO-Fix-Pack.md, Prompt 3.

   The neutral block is byte-identical across both estates. Only the accent
   block forks. Set data-brand once on <html> and nothing below needs to know
   which brand it is in.

   Do not add raw hex values to component CSS. If a component needs a colour
   that is not here, that is a question for the Creative Director, not a
   local override. */

:root{
  /* Neutrals, shared by both brands, never forked */
  --paper:      #F8F5F0;
  --paper-2:    #F1ECE3;
  --line:       #E0D8C9;
  --line-2:     #CFC5B2;
  --ink:        #1F1E1B;
  --ink-2:      #57534A;
  --ink-3:      #8A8479;
  --white:      #FFFFFF;

  /* Non-colour tokens carried over from the existing pages so the shared
     components render identically to what they replace. */
  --radius-pill: 999px;
  --radius:      14px;
  --ease:        cubic-bezier(.16,1,.3,1);

  /* Type. Fraunces is canonical, Group tuning is SOFT 0 / WONK 0, 400 to 600.
     Inter is the single sans. Georgia is a fallback only, and is the email
     serif fallback because Fraunces does not render reliably in mail clients.
     Anton is deleted. */
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* Group theme, institutional.
   Beyond Stays Group Brand Book v1.1, Part 04 Colour. Petrol was lightened
   from #123B44 in v1.0, which measured 11.13:1 against paper but only 1.38:1
   against ink, so it behaved as a second black rather than an accent. */
[data-brand="group"]{
  --accent:      #226F80;  /* Petrol. Primary buttons, eyebrows, links, CTA bands. ~5%. 5.29:1 on paper. */
  --accent-2:    #1A5A69;  /* Petrol 2. Hover and active states only, never a resting fill. 7.12:1. */
  --accent-soft: #E2EEF1;  /* Petrol Soft. Selected states and quiet highlight panels. Use sparingly. */
  --accent-on-dark: #79B2BF;  /* Petrol On Ink. On dark only. Petrol itself is 2.90:1 there. */
}

/* Guest theme, warm. Present so a component written once works on both
   estates. The Group site never resolves these. */
[data-brand="stays"]{
  --accent:      #A5501F;  /* Terracotta Dark, 5.57:1 on white. The default accent. */
  --accent-2:    #8E4419;  /* Terracotta Deep, 7.02:1. Hover only. */
  --accent-soft: #F6E7DC;
  --accent-fill: #C7622C;  /* Terracotta, 3.71:1. Large fills only. Never text. */
  --accent-sand: #E8C39F;
}

/* Retired 20 August 2026, do not reintroduce:
   #298eff and #1E7EFF (both brand blues), #1E6BC4 (raw .btn-accent hex),
   #1c74e0 (--blue-dark, which was lighter than the rest state it hovered to),
   --bg-3 #f2f2f2 (declared in 19 files, referenced nowhere),
   the guest green field and its token,
   navy and gold, which was never a brand palette. */
