/* COPY of brand/tokens.css. brand/tokens.css is the source: change it there, then copy it here.
   One website override at the end of this file (Emilija, 27 Nov 2026: white instead of cream). */
/* City Palace Hotel design tokens. The single source for the website, menu and emails.
   Status: approved by Emilija (27 Nov 2026). See brand/visual-identity.md for the rules.
   Fonts: load from Google Fonts with
   https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,300;6..72,400&family=Figtree:wght@400;500&display=swap
   Emails can't rely on web fonts: use the fallbacks below inline. */

:root {
  /* Colour */
  --cp-page: #F8F4EE;
  --cp-stone: #EFE8DD;
  --cp-ink: #3A3632;
  --cp-ink-soft: #6B645C;
  --cp-green: #13423E;
  --cp-green-deep: #0F3532;
  --cp-bronze: #867050;
  --cp-bronze-deep: #735E40;
  --cp-bronze-light: #C2A97F;
  --cp-cream: #F4EFE8;
  --cp-line: #DDD3C4;
  --cp-white: #FFFFFF;

  /* Type */
  --cp-font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --cp-font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --cp-weight-display: 300;
  --cp-weight-body: 400;
  --cp-weight-label: 500;

  --cp-size-display: clamp(2.5rem, 5vw, 3.5rem); /* 40 to 56px */
  --cp-size-h1: clamp(2rem, 4vw, 2.5rem);        /* 32 to 40px */
  --cp-size-h2: clamp(1.625rem, 3vw, 2rem);      /* 26 to 32px */
  --cp-size-h3: 1.5rem;                          /* 24px */
  --cp-size-lead: 1.125rem;                      /* 18px */
  --cp-size-body: 1rem;                          /* 16px */
  --cp-size-small: 0.8125rem;                    /* 13px */
  --cp-size-label: 0.6875rem;                    /* 11px */

  --cp-leading-tight: 1.1;
  --cp-leading-body: 1.7;
  --cp-tracking-label: 0.22em;
  --cp-tracking-display: -0.01em;

  /* Space */
  --cp-space-1: 0.5rem;   /* 8px */
  --cp-space-2: 1rem;     /* 16px */
  --cp-space-3: 1.5rem;   /* 24px */
  --cp-space-4: 2rem;     /* 32px */
  --cp-space-5: 3rem;     /* 48px */
  --cp-space-6: 4rem;     /* 64px: section gap, mobile */
  --cp-space-7: 6rem;     /* 96px: section gap, desktop */
  --cp-space-8: 8rem;     /* 128px: large section gap */

  /* Layout */
  --cp-width-page: 75rem;   /* 1200px */
  --cp-width-text: 42.5rem; /* 680px */
  --cp-radius: 0;
  --cp-rule: 2px;
  --cp-border: 1px solid var(--cp-line);

  /* Motion */
  --cp-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --cp-duration: 400ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --cp-duration: 0ms; }
}

/* WEBSITE OVERRIDE (Emilija's feedback, 27 Nov 2026): white and green, no cream page or stone sections.
   The cream stays for the crest and for text on green. To be carried into brand/tokens.css by the head session. */
:root {
  --cp-page: var(--cp-white);
  --cp-stone: var(--cp-white);
  /* Tints over photos: black at low opacity, never green (Emilija, 27 Nov 2026). */
  --cp-shade: #000000;
  /* Soft drop shadow for cards over photos (Emilija, 27 Nov 2026). */
  --cp-shadow-card: 0 18px 48px color-mix(in srgb, var(--cp-ink) 14%, transparent);
}

/* TRIAL, not approved (Emilija, 29 Nov 2026): "Facade grey and magenta", after Mario turned down the green.
   Grey comes from the building's facade, magenta from the crest's original colour (CMYK 0/100/0/0, about #EC008C).
   Buttons and text use a deeper magenta so white text on it stays readable. To undo the trial, delete this block. */
:root {
  --cp-green: #FFFFFF;        /* white: header, menu and every house-colour surface (Emilija, 29 Nov 2026; tried #46484B and #EFEBE7) */
  --cp-green-deep: #FFFFFF;   /* white: footer (tried #393B3E and #E7E2DC) */
  --cp-bronze: #B8006B;       /* magenta for actions: Book, links, rules */
  --cp-bronze-deep: #96005A;  /* magenta hover */
  --cp-bronze-light: #F4A6CC; /* light magenta for labels and lines on grey or photos */
  --cp-line: #E3E1DF;        /* neutral grey hairlines instead of warm beige */
  --cp-footer: #2C2B2A;      /* warm charcoal: footer (Naum, 29 Nov 2026). Cream on it 12.4, light magenta 7.5 */
}
