/* Design tokens — "Golden Coast" palette (taken from the Imsouane photos), type scale, spacing scale */

/* Self-hosted variable fonts (Google Fonts, SIL Open Font License, latin
   subset) — no CDN request, so nothing is sent to third parties and the
   fonts load offline. Two registers:
   - Cormorant Garamond: page and section titles; its italic for quotes
     and highlights.
   - Montserrat: small headings, eyebrows, buttons, nav and body text. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Color palette: linen, sand and caramel cliffs, rust rock, espresso
     shadows and a misty-sea grey-blue, all sampled from the site photos.
     Every text pairing below clears WCAG AA:
     ink on cream 14.4, ink-soft on sand 6.1, sky-deep on sand 5.1,
     clay-deep on sand 6.0, white on clay 5.5, ochre on ink 6.6. */
  --color-cream: #f7f1e8;
  --color-sand: #ecdcc6;
  --color-taupe: #d6c3aa;
  --color-sky: #a9b8b5;
  --color-sky-deep: #435f63;
  --color-ochre: #cf9c68; /* golden caramel: accents on dark backgrounds only */
  --color-clay: #975a2e; /* buttons: white text on it is 5.5:1 */
  --color-clay-deep: #76431f;
  --color-ink: #2b1e15;
  --color-ink-soft: #5d4c3e;
  --color-white: #ffffff;
  /* WhatsApp's own dark teal, used only for the floating chat button:
     white glyph on it 4.1:1, the button against cream 3.7:1. */
  --color-whatsapp: #128c7e;
  --color-whatsapp-deep: #075e54;

  /* Typography */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Cormorant has a small x-height and fine strokes, so it is only used
     large; h3/h4 are Montserrat and stay compact. */
  --fs-h1: clamp(3rem, 4.6vw + 1.5rem, 5.75rem);
  --fs-h2: clamp(2.2rem, 2vw + 1.45rem, 3.4rem);
  --fs-h3: clamp(1.15rem, 0.5vw + 1rem, 1.45rem);
  --fs-h4: clamp(1.05rem, 0.3vw + 0.95rem, 1.2rem);
  --fs-quote: clamp(1.5rem, 1.1vw + 1.15rem, 2.1rem);
  --fs-lead: clamp(1.1rem, 0.4vw + 1rem, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.85rem;
  --fs-nav: 0.78rem;

  --lh-tight: 1.05;
  --lh-display: 1.15;
  --lh-heading: 1.3;
  --lh-body: 1.7;

  --tracking-wide: 0.06em;
  --tracking-nav: 0.12em;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --space-7: 8rem;
  --space-8: 10rem;

  /* Layout */
  --container-max: 1180px;
  --container-narrow: 720px;
  --radius-soft: 6px;
  --radius-organic: 2px 32px 2px 32px;
}
