/* =========================================================
   Villa Saltasia — Design Tokens
   Editable brand values: colors, type, spacing, radii
   ========================================================= */

:root {
  /* Colors — warm cream + Canva charcoal text */
  --color-bg: #ebe7e1;
  --color-bg-warm: #ebe7e1;
  --color-bg-footer: #fff9f2;
  /* Headings, logo, nav titles — content text black sitewide */
  --color-text: #000;
  /* Body copy */
  --color-text-body: #000;
  /* Sub-nav, leads, secondary */
  --color-text-muted: #000;
  --color-border: #2a2824;
  /* Accents used on content text — black to match sitewide content */
  --color-accent-name: #000;
  --color-accent-red: #000;

  /* Typography */
  /* Primary typeface — Lora used for all headings and body copy */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Lora", Georgia, "Times New Roman", serif;
  --font-button: "Museo Sans Rounded", "Nunito Sans", "Helvetica Neue", sans-serif;

  /* Type scale — fixed sitewide (titles + main para 24px, body 16.5px) */
  --text-logo: clamp(1.35rem, 2.2vw, 1.75rem);
  --text-hero-logo: clamp(1.5rem, 2.5vw, 2rem);
  --text-h1: 1.5rem; /* 24px — all page/section titles */
  --text-h2: 1.5rem; /* 24px */
  --text-h3: 1.5rem; /* 24px */
  --text-body: 0.75rem; /* 12px — standard paragraphs */
  --text-body-lg: 1.125rem; /* 18px — main / lead paragraphs */
  --text-small: 0.75rem;
  --text-nav: 0.95rem;
  --text-nav-sub: 0.85rem;
  --text-button: 0.625rem; /* 10px */
  --tracking-button: 2px;

  --leading-tight: 1.5;
  --leading-body: 1.5;
  --tracking-logo: 0.28em;
  --tracking-label: 0.18em;
  --tracking-heading: 0.06em;

  /* Layout — section rhythm (≈2cm between bands; no stacked top+bottom) */
  --container: 1180px;
  --container-narrow: 720px;
  --container-text: 680px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: 2cm; /* gap between major sections */
  --section-space-sm: 1cm; /* smaller rhythm */
  --content-gap: 0.75cm; /* space inside a section (image → copy) */
  --title-photo-gap: 1.5cm; /* title ↔ caption ↔ photo */
  --grid-gap: clamp(0.45rem, 0.9vw, 0.75rem);

  /* Components */
  --radius-image: 6px;
  --radius-image-lg: 14px;
  --radius-pill: 999px;
  --radius-button: 3px;
  --btn-pad-y: 13px;
  --btn-pad-x: 26px;
  --color-button-bg: rgba(0, 0, 0, 0.75);
  --color-button-bg-hover: rgba(0, 0, 0, 0.92);
  --color-button-text: rgba(255, 255, 255, 0.9);
  --header-height: 4.5rem;

  /* Motion — soft ease for accordion + UI */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.35s;
  --duration-accordion: 0.55s;
}
