/* Duck's Lake design tokens — single source of truth.
   Extracted from the live site (assets/style.css, commit ac63a29).
   Use these variables in every Duck's Lake product: site, Facility app, Residents app.
   Do not introduce new colors, fonts, radii or shadows outside this file. */

@import url("fonts/manrope.css"); /* self-hosted Manrope, variable weight 200–800, Cyrillic included */

:root {
  /* ---- Brand palette ---- */
  --navy: #070b20;        /* primary: text on light, dark backgrounds, primary buttons, theme-color */
  --navy-2: #0e1224;      /* secondary dark surface: panels on dark, map background */
  --navy-3: #191c2f;      /* tertiary dark surface: cards on dark, steps, posters fallback */
  --light: #e3e6eb;       /* light section background */
  --light-2: #eef0f3;     /* subtle light surface, hover fills on light */
  --mid: #c7cbd4;         /* secondary text on dark */
  --grey: #3d4249;        /* secondary text on light */
  --grey-2: #8a8f99;      /* tertiary text, <em> emphasis, placeholders */
  --white: #ffffff;       /* page background, cards on light */
  --red: #ce1d20;         /* the only accent: badges, selected state, progress bar, "next" marker, errors */

  /* ---- Status colors (data states only, never decoration) ---- */
  --c-rent: #39c07a;      /* available for rent / success on dark */
  --c-buy: #5b9cff;       /* available for sale / info on dark */
  --c-tbc: #e3b341;       /* to be confirmed / warning on dark */
  --c-busy: rgba(255,255,255,.22); /* occupied on dark */

  /* Status chips on light backgrounds (background / text pairs) */
  --st-free-bg: #e3f5e8;     --st-free-fg: #1d6b3a;     /* free, active, OK, open now */
  --st-reserved-bg: #fff3d6; --st-reserved-fg: #7a5300; /* reserved, pending, warning */
  --st-check-bg: #eef0f7;    --st-check-fg: #3d4249;    /* needs check, neutral, draft */
  --st-taken-bg: rgba(7,11,32,.08); --st-taken-fg: #070b20; /* taken, closed, archived */
  --note-bg: #fff3d6;        --note-fg: #4b3a10;        /* warning note block */

  /* ---- Lines and overlays ---- */
  --line-on-light: rgba(7,11,32,.12);    /* card/row borders on light */
  --line-on-light-2: rgba(7,11,32,.30);  /* input underline, chip border on light */
  --line-on-dark: rgba(255,255,255,.14); /* card/row borders on dark */
  --line-on-dark-2: rgba(255,255,255,.35); /* input underline, chip border on dark */
  --scrim: rgba(7,11,32,.55);            /* modal backdrop (with blur 4px) */
  --glass-light: rgba(255,255,255,.72);  /* sticky header on light (blur 14px) */
  --glass-dark: rgba(7,11,32,.62);       /* sticky header on dark (blur 14px) */

  /* ---- Typography ---- */
  --font: "Manrope", sans-serif;
  --fw-regular: 400;   /* all headings and body */
  --fw-medium: 500;    /* buttons, labels, caps, table headers */
  --fw-semibold: 600;  /* badges and counters only */

  /* ---- Radii ---- */
  --r-pill: 999px;  /* buttons, chips, badges, status chips, toasts, icon buttons */
  --r-xs: 4px;      /* small images, floor plans */
  --r-sm: 6px;      /* cards, panels, list rows, story cards (default container radius) */
  --r-md: 10px;     /* gallery images */
  --r-lg: 12px;     /* boxed inputs/selects, info blocks, notes, menu items */
  --r-xl: 18px;     /* posters, popover menus */

  /* ---- Shadows (navy-tinted, never pure black) ---- */
  --sh-float: 0 10px 30px rgba(7,11,32,.28);  /* floating bar, popover menu */
  --sh-hover: 0 14px 30px rgba(7,11,32,.28);  /* CTA hover */
  --sh-card: 0 30px 60px rgba(7,11,32,.25);   /* large card over photo */

  /* ---- Spacing and layout ---- */
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 72px;
  --section-pad: clamp(80px, 12vh, 160px);
  --gap-grid: 16px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .2s;  /* hover, color */
  --t-base: .3s;  /* show/hide floating UI */
  --t-panel: .45s; /* modal/drawer slide */
  --t-reveal: .9s; /* scroll reveal on marketing pages only */
}

/* Facility wayfinding palette approved 2026-11-23. Status chips retain their five independent meanings. */
:root {
  --tile-blue: #176197; --wash-blue: #dceffd;
  --tile-aqua: #0b716e; --wash-aqua: #d9f3ee;
  --tile-violet: #6d49a3; --wash-violet: #eee7f9;
  --tile-rose: #a74562; --wash-rose: #fbe8ed;
  --tile-gold: #87551a; --wash-gold: #faecd5;
  --tile-indigo: #4f5698; --wash-indigo: #e7eafa;
  --canvas: #f3f5f8;
  --lake-deep: #102e45; --lake-shallow: #1c515b;
  --lake-contour: #447477; --lake-foam: #b4e5df;
}
