/* colors_and_type.css — ALNA Spa */
/* Last updated: August 19, 2026 */
/*
 * Canonical design tokens. This is the only file where a colour, font or size
 * is written as a literal value. Everything else references a custom property.
 *
 * Extracted from computed styles on the rendered live pages (alnaspa.com),
 * not from the Elementor kit. Where the two disagree, what renders wins —
 * the active kit is an imported demo ("Alternative Medicine One Page") and is
 * internally inconsistent.
 */

:root {

  /* ------------------------------------------------------------------ */
  /*  Colour — brand palette                                            */
  /* ------------------------------------------------------------------ */

  --alna-text:        #0E284F;  /* dominant text; also dark section fills */
  --alna-primary:     #205A85;
  --alna-secondary:   #8DC1D3;  /* fills only — 1.85:1, fails text and UI contrast */
  --alna-accent:      #F6DD62;  /* fills only — 1.28:1, fails text and UI contrast */
  --alna-cta:         #CC7A46;  /* links and button fills */
  --alna-cta-hover:   #995D36;
  --alna-light:       #FFFEF9;  /* light text on dark; light fills */
  --alna-page-bg:     #F8F8F8;
  --alna-veil:        #0E284F3B; /* 23% --alna-text — image overlay, hover state */
  --alna-veil-soft:   #0E284F2B; /* 17% --alna-text — image overlay, resting state */
  --alna-veil-strong: #0E284F7D; /* 49% --alna-text — hero video overlay */

  /* Navigation. Not in the kit, but these are functional states, not drift:
     --alna-nav is every menu link, --alna-nav-active marks the current page.
     --alna-nav is also the header's top utility bar. Merged into --alna-text
     on August 14, 2026 — as its own hex (#16163F) it was reading as a barely
     distinguishable near-navy alongside --alna-text and --alna-ink-deep on
     the guidelines page. One dark navy, referenced everywhere it's needed. */
  --alna-nav:         var(--alna-text);
  --alna-nav-active:  #D3B574;

  /* The footer's deep navy. Was its own hex (#001C38); merged into --alna-text
     August 14, 2026 for the same reason as --alna-nav above — three near-
     identical dark blues on one card wall reads as a mistake, not a palette. */
  --alna-ink-deep:    var(--alna-text);

  /* ------------------------------------------------------------------ */
  /*  Type — families                                                   */
  /* ------------------------------------------------------------------ */

  --alna-font-display: 'Yeseva One', Georgia, 'Times New Roman', serif;
  --alna-font-body:    'Roboto', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  /*
   * Yeseva One ships ONE real weight: 400. The kit asks for 900 and 300.
   * The browser synthesises the bold and ignores the light, and has been doing
   * so on the live site for as long as it has existed. These declarations
   * preserve that exactly — see the @font-face block in alna.css, which
   * declares the file at its true weight so the synthesis still happens.
   */
  --alna-weight-display:       900;  /* synthesised from 400 */
  --alna-weight-display-light: 300;  /* renders as 400 */
  --alna-weight-body:          300;
  --alna-weight-medium:        700;  /* Roboto — real. Navigation and labels */
  --alna-weight-bold:          900;  /* Roboto — real, variable font */

  /* ------------------------------------------------------------------ */
  /*  Type — scale (desktop, ≥768px)                                    */
  /* ------------------------------------------------------------------ */

  /* Type scale, one ratio (1.25). Replaced the kit's eight irregular steps on
     August 10, 2026: its ratios ran 1.29, 1.17, 1.50, 1.11, 1.13, 1.14, 1.17 —
     no relationship between them — and three pairs collapsed onto the same
     value at mobile, so hero and h2 were indistinguishable on a phone.
     --alna-size-eyebrow is gone; it and label were both 12px on mobile doing
     one job. Seven steps, one ratio, no collisions. */
  /* Corner radius for content photographs. Full-bleed media stays square. */
  --alna-radius: 6px;
  /* Separate from --alna-radius on purpose — that one is documented as
     "every content photograph" specifically, and buttons reusing it would
     couple two unrelated decisions. Added August 20, 2026, when buttons
     moved from square corners to noticeably rounded. */
  --alna-radius-button: 10px;

  --alna-size-hero:    44px;   /* display */
  --alna-size-dg-hero: 64px;   /* Design Guidelines page H1 only — bigger than the
                                  shared hero size so the one page whose job is
                                  "look at the system" actually reads biggest on it */
  --alna-size-h2:      35px;
  --alna-size-h3:      28px;
  --alna-size-card:    22px;
  --alna-size-body:    18px;
  --alna-size-small:   16px;
  --alna-size-label:   14px;
  --alna-size-fine:    12px;
  --alna-size-micro:   10px;   /* legal bar only — 12px continuing the 1.25 ratio
                                  one more step down, not an arbitrary number.
                                  Added August 20, 2026 when the legal bar needed
                                  to read smaller than the topbar address it had
                                  been matched to. */

  --alna-lh-display: 1.2;
  --alna-lh-heading: 1.3;
  --alna-lh-body:    1.8;
  --alna-lh-label:   2;

  --alna-ls-display: 2px;
  --alna-ls-heading: 1.5px;
  --alna-ls-label:   2px;
  --alna-ls-eyebrow: 1.7px;

  /* ------------------------------------------------------------------ */
  /*  Spacing                                                           */
  /* ------------------------------------------------------------------ */
  /* Normalised from the rendered spread (50/50, 55/0, 35/35, 20/20, 8%). */

  --alna-space-section: 50px;
  --alna-space-lg:      35px;
  --alna-space-md:      20px;
  --alna-space-sm:      10px;

  --alna-measure:       1140px;  /* content max-width */
  --alna-gutter:        20px;

  /* ------------------------------------------------------------------ */
  /*  Motion                                                            */
  /* ------------------------------------------------------------------ */

  --alna-transition: 200ms ease;
}

/* -------------------------------------------------------------------- */
/*  Mobile (<768px)                                                     */
/* -------------------------------------------------------------------- */
/*
 * Desktop values hold down to 768px. The kit's tablet breakpoint is discarded
 * deliberately: its values are incoherent (H2 at 16px on tablet but 25px on
 * mobile; menu labels at 26px on tablet against 14px on desktop). They are
 * artefacts of the imported demo kit, not decisions. One breakpoint, not two.
 */

@media (max-width: 767px) {
  :root {
    --alna-size-hero:    32px;
    --alna-size-dg-hero: 40px;
    --alna-size-h2:      28px;
    --alna-size-h3:      22px;
    --alna-size-card:    20px;
    --alna-size-body:    16px;
    --alna-size-small:   15px;
    --alna-size-label:   13px;
    --alna-size-fine:    12px;
    --alna-size-micro:   10px;

    --alna-lh-display: 1.1;
    --alna-lh-heading: 1.4;
    --alna-lh-body:    1.8;

    --alna-space-section: 35px;
    --alna-space-lg:      20px;
  }
}
