/* ==========================================================================
   Windhoek on Jean — design tokens
   Colour derived from the 2015 logo and the recovered photography.
   Every text/background pair below was contrast-checked; ratios are noted.
   ========================================================================== */

/* --- Typefaces -----------------------------------------------------------
   Archivo is a variable font with a width axis (62–125%). The display type
   uses font-stretch to get genuinely wide letterforms, matching the logo's
   construction, rather than faking width with letter-spacing alone.
   Source Serif 4 Italic appears only on room names and the guest quote.
   -------------------------------------------------------------------- */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/sourceserif4-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Source Serif 4', Iowan Old Style, Georgia, 'Times New Roman', serif;

  /* --- Colour ------------------------------------------------------------
     Ground is deliberately cooler and brighter than the cream that vintage
     hospitality sites default to — it matches the bleached Highveld light in
     the photographs rather than fighting it.
     -------------------------------------------------------------------- */

  --paper: #FBFAF7;          /* page ground */
  --paper-sunk: #F3F1EC;     /* recessed panels, form fields */
  --ink: #2E2F2F;            /* body + display        12.87:1 on paper */
  --grey: #6B6C6E;           /* captions, meta   5.04:1 paper · 4.66:1 sunk */
  --rule: #DCD9D2;           /* hairlines */

  /* Brand coral, two values. #DF5A5A is the logo colour but only reaches
     3.50:1 on paper — fine for large display, not for body text or buttons.
     --coral-deep is the accessible variant for anything interactive. */
  --coral: #DF5A5A;          /* large display only     3.50:1 on paper */
  --coral-deep: #B93B3A;     /* links, buttons         5.37:1 on paper
                                                       5.60:1 white on it */
  --coral-light: #EE6E6E;    /* links on the dark section
                                                       4.53:1 on --ink */
  --on-coral: #1A1B1B;       /* label colour on a coral fill  4.72:1 */

  /* Room accents. The rooms are literally named by colour, so this is
     content, not decoration. Each has a saturated swatch value and a
     darker text-safe value, mirroring the coral pattern. */
  --room-green: #7C8B6F;
  --room-green-ink: #69765E; /* 4.55:1 on paper · 4.71:1 white on it */
  --room-orange: #C97B3C;
  --room-orange-ink: #A46431;/* 4.53:1 on paper · 4.72:1 white on it */
  --room-red: #B14A48;
  --room-red-ink: #B14A48;   /* 5.10:1 on paper · 5.33:1 white on it */

  /* --- Type scale --------------------------------------------------------
     Fluid via clamp() so there are no breakpoint jumps in the display sizes.
     -------------------------------------------------------------------- */

  --t-xs: 0.75rem;
  --t-sm: 0.8125rem;
  --t-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-md: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --t-lg: clamp(1.3125rem, 1.15rem + 0.75vw, 1.75rem);
  --t-xl: clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem);
  --t-2xl: clamp(2rem, 1.45rem + 2.7vw, 3.5rem);
  --t-display: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);

  /* Wide-tracked uppercase is the brand's typographic signature, taken from
     the logo wordmark rather than from the old theme's Open Sans. */
  --track-wide: 0.16em;
  --track-display: 0.02em;

  /* --- Space ------------------------------------------------------------- */

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3.5rem);
  --measure: 34rem;
  --max-w: 78rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
