/* Velvet Clinic — design tokens
   Palette derived from the clinic's actual interior: charcoal venetian plaster,
   navy velvet, polished gold, black granite, white marble. */

:root {
  /* ---- surfaces ---- */
  --ink:        #0E1014;   /* black granite reception desk; darkest ground */
  --charcoal:   #1A1D23;   /* dark plaster walls */
  --graphite:   #2E333C;   /* mid dark, cards on dark */
  --plaster:    #8D949E;   /* the grey venetian plaster mid-tone */
  --marble:     #F5F4F2;   /* white marble floor — primary light background */
  --marble-2:   #EAE8E4;   /* section shift on light */

  /* ---- brand ---- */
  --navy:       #1B2340;   /* the velvet armchairs. the signature colour */
  --navy-lift:  #26325A;   /* navy one step up, for hovers on dark */
  --gold:       #C9A45C;   /* polished gold fixtures, illuminated logo */
  --gold-deep:  #7A5E2A;   /* gold text on light surfaces. 5.52:1 on --marble,
                              4.96:1 on --marble-2 — passes AA at 12px.
                              Do not lighten without re-checking contrast. */
  --gold-soft:  #E3CFA4;   /* gold on dark backgrounds */

  /* ---- easing ---- */
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-state: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- duration ---- */
  --d-hover: 220ms;
  --d-reveal: 640ms;
  --d-hero: 1200ms;
  --stagger: 70ms;

  /* ---- type ---- */
  /* Playfair Display: high-contrast editorial serif, but with far sturdier thin
     strokes than Bodoni Moda, which vanished on light backgrounds at display
     sizes. No optical-size axis, so weight does the work instead. */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;

  /* fluid scale, ~1.25 ratio */
  --step--2: clamp(0.69rem, 0.67rem + 0.11vw, 0.75rem);
  --step--1: clamp(0.83rem, 0.80rem + 0.16vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.24vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.36vw, 1.41rem);
  --step-2:  clamp(1.44rem, 1.34rem + 0.52vw, 1.76rem);
  --step-3:  clamp(1.73rem, 1.58rem + 0.75vw, 2.20rem);
  --step-4:  clamp(2.07rem, 1.86rem + 1.07vw, 2.75rem);
  --step-5:  clamp(2.49rem, 2.18rem + 1.51vw, 3.43rem);
  --step-6:  clamp(2.99rem, 2.56rem + 2.11vw, 4.29rem);
  --step-7:  clamp(2.90rem, 2.35rem + 2.20vw, 4.15rem);

  /* ---- layout ---- */
  --head-h: 116px;   /* fixed: a sticky header must not animate its own height */
  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --hair: color-mix(in srgb, var(--gold) 24%, transparent);
  --hair-dark: color-mix(in srgb, var(--gold) 34%, transparent);
}
