/*
 * Residenza Le Querce: design tokens — Gruppo type and logo, Pietra palette (user request 19 Nov 2026: lighter colours)
 * Generated by tools/build_set.py on 19 Nov 2026. STATUS: APPROVED by the user on 19 Nov 2026 (set C, Gruppo).
 * The theme uses the same --rlq-* names for every set, so switching set = swapping this file and the logo folder.
 *
 * FONTS AND GDPR: self-hosted, SIL Open Font License 1.1, no request to Google, Adobe or any other host.
 * Copy brand/fonts/web/*.woff2 into the theme and fix the url() paths (they are relative to brand/tokens.css; logo files: brand/final/gruppo/logo/).
 * Display: Ysabeau Office. Text: Ysabeau Office.
 */

@font-face {
  font-family: "RLQ Ysabeau";
  src: url("../fonts/ysabeau-office-var-latin.woff2") format("woff2");
  font-weight: 1 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "RLQ Ysabeau";
  src: url("../fonts/ysabeau-office-italic-var-latin.woff2") format("woff2");
  font-weight: 1 1000; font-style: italic; font-display: swap;
}

:root {
  /* ---- Palette ---- */
  --rlq-corteccia: #34302f;      /* Text, titles, buttons, dark bands. Kept from the 2024 site. (12.6:1 on page ground) */
  --rlq-terra: #6e6966;          /* Secondary text, captions, labels. (5.2:1 on page ground) */
  --rlq-grigio-caldo: #807b7b;   /* Logo on light. Large text only. (4.0:1 on page ground) */
  --rlq-sabbia: #d2cfc7;         /* Logo lattice, rules, card borders. */
  --rlq-nebbia: #eceae6;         /* Alternate section ground. */
  --rlq-calce: #fbfbfb;          /* Page ground. */

  /* ---- Semantic ---- */
  --rlq-bg: #fbfbfb;
  --rlq-bg-alt: #eceae6;
  --rlq-bg-card: #ffffff;
  --rlq-bg-brand: #34302f;          /* header on scroll, footer, brand bands */
  --rlq-fg: #34302f;                /* 12.6:1 */
  --rlq-fg-muted: #6e6966;          /* 5.2:1 */
  --rlq-heading: #34302f;
  --rlq-link: #34302f;               /* 12.6:1 */
  --rlq-accent: #807b7b;           /* decorative: rules, eyebrows on dark */
  --rlq-on-brand: #fbfbfb;
  --rlq-on-brand-muted: rgba(255, 255, 255, 0.75);
  --rlq-on-photo: #ffffff;
  --rlq-photo-scrim: linear-gradient(90deg, rgba(20, 21, 22, 0.72) 0%, rgba(20, 21, 22, 0.35) 45%, rgba(20, 21, 22, 0) 70%);
  --rlq-button: #34302f;
  --rlq-button-hover: #1f1c1b;
  --rlq-button-text: #fbfbfb;
  --rlq-border: #d2cfc7;
  --rlq-focus: #34302f;
  --rlq-error: #9b2c1f;
  --rlq-h1-night: #1f2023;     /* H1 Holding footer line and logo */

  /* ---- Type ---- */
  --rlq-font-display: "RLQ Ysabeau", Optima, Candara, "Segoe UI", sans-serif;
  --rlq-font-text: "RLQ Ysabeau", Optima, Candara, "Segoe UI", sans-serif;
  --rlq-weight-display: 400;
  --rlq-weight-text: 400;
  --rlq-weight-strong: 600;
  --rlq-display-case: uppercase;     /* text-transform for h1-h3 */
  --rlq-display-track: 0.12em;    /* letter-spacing for h1-h3 */

  --rlq-size-hero: 40px;
  --rlq-size-h2: 28px;
  --rlq-size-h3: 18px;
  --rlq-size-figure: 30px;     /* key facts: A4, 5.000 m² */
  --rlq-size-lead: 21px;
  --rlq-size-body: 17px;
  --rlq-size-small: 15px;
  --rlq-size-label: 12px;      /* spaced capitals; nothing below 11 px */
  --rlq-size-button: 12px;
  --rlq-size-nav: 13px;
  --rlq-leading-display: 1.3;
  --rlq-leading-lead: 1.55;
  --rlq-leading-body: 1.65;
  --rlq-track-label: 0.22em;
  --rlq-track-button: 0.18em;
  --rlq-track-nav: 0.16em;
  --rlq-measure: 38em;

  /* ---- Space ---- */
  --rlq-space-1: 4px; --rlq-space-2: 8px; --rlq-space-3: 16px; --rlq-space-4: 24px;
  --rlq-space-5: 32px; --rlq-space-6: 48px; --rlq-space-7: 72px; --rlq-space-8: 112px;
  --rlq-gutter: 24px;
  --rlq-max: 1240px;

  /* ---- Shape ---- */
  --rlq-radius: 0;
  --rlq-rule: 1px solid var(--rlq-border);
  --rlq-image-ratio-hero: 16 / 9;
  --rlq-image-ratio-card: 17 / 10;

  /* ---- Logo ---- */
  --rlq-logo-header-height: 44px;
  --rlq-logo-min-width: 160px;  /* below: mark or app icon */

  --rlq-ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --rlq-duration: 240ms;
}

@media (max-width: 760px) {
  :root {
    --rlq-size-hero: 28px; --rlq-size-h2: 22px; --rlq-size-h3: 16px;
    --rlq-size-figure: 24px; --rlq-size-lead: 19px; --rlq-size-body: 17px;
    --rlq-space-8: 72px; --rlq-gutter: 16px;
  }
}
@media (prefers-reduced-motion: reduce) { :root { --rlq-duration: 0ms; } }
