/* Colour system — low saturation, warm neutral only.
   No vivid blue/green/red/yellow. No gradients. No pure-white page background. */
:root{
  /* Base palette */
  --warm-greige:#F2EFEB;      /* primary page background */
  --warm-charcoal:#484141;    /* primary text */
  --white:#FFFFFF;            /* alternate section background, text on photo */
  --deep-brown-black:#24201D; /* dark sections, footer */
  --muted-gray:#7F7A7A;       /* secondary text */
  --light-gray:#B6B6B6;       /* tertiary text, disabled */

  /* Derived warm neutrals — tints of the base palette only */
  --greige-deep:#E8E4DF;      /* quiet block inside a greige section */
  --greige-line:#DCD7D1;      /* hairline on greige */
  --white-line:#E6E2DD;       /* hairline on white */
  --charcoal-soft:#5E5656;    /* charcoal at rest on photo-adjacent type */
  --brown-800:#302B27;        /* one step up from deep-brown-black */

  /* Photography overlays — a pale white veil, never a dark scrim or gradient */
  --veil-white-18:rgba(255,255,255,.18);
  --veil-white-32:rgba(255,255,255,.32);
  --veil-white-64:rgba(255,255,255,.64);
  --veil-ink-16:rgba(36,32,29,.16);

  /* On-dark alphas */
  --on-dark-70:rgba(255,255,255,.70);
  --on-dark-45:rgba(255,255,255,.45);
  --on-dark-line:rgba(255,255,255,.16);
  --on-photo-line:rgba(255,255,255,.55);

  /* Semantic surfaces */
  --surface-page:var(--warm-greige);
  --surface-alt:var(--white);
  --surface-quiet:var(--greige-deep);
  --surface-dark:var(--deep-brown-black);
  --surface-photo:var(--greige-deep); /* placeholder tone behind un-loaded imagery */

  /* Semantic text */
  --text-primary:var(--warm-charcoal);
  --text-secondary:var(--muted-gray);
  --text-tertiary:var(--light-gray);
  --text-on-dark:var(--white);
  --text-on-dark-secondary:var(--on-dark-70);
  --text-on-photo:var(--white);
  --text-link:var(--warm-charcoal);
  --text-link-hover:var(--muted-gray);

  /* Semantic lines — 1px, low contrast, structural only */
  --border-hairline:var(--greige-line);
  --border-hairline-alt:var(--white-line);
  --border-on-dark:var(--on-dark-line);
  --border-on-photo:var(--on-photo-line);

  /* CTA */
  --cta-ink:var(--warm-charcoal);
  --cta-border:var(--warm-charcoal);
  --cta-fill:transparent;
  --cta-fill-hover:var(--warm-charcoal);
  --cta-ink-hover:var(--white);
  --cta-ink-on-photo:var(--white);
  --cta-border-on-photo:var(--on-photo-line);
  --cta-fill-on-photo-hover:rgba(255,255,255,.92);
  --cta-ink-on-photo-hover:var(--warm-charcoal);

  /* Focus — inherits brand ink, never a system blue */
  --focus-ring:rgba(72,65,65,.45);
}
