/*
  Design tokens. Palette, type scale, spacing and radii follow the Gems Dental Home design system
  (github.com/tgv1200/gems-dental-home-design-system). Fonts: Be Vietnam Pro (web substitute for
  SVN-Gilroy) and Quicksand, self-hosted.
*/

@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; 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: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; 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: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; 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: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-latin-800.woff2") format("woff2"); font-weight: 800; font-display: swap; 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: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/be-vietnam-pro-800.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; 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: "Quicksand"; src: url("../fonts/quicksand-vietnamese.woff2") format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* Oswald (display) and Montserrat (UI and body): ski.com-style type with Vietnamese support. OFL-1.1, self-hosted. */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-vietnamese-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-display: swap; 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: "Oswald"; src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-display: swap; 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: "Montserrat"; src: url("../fonts/montserrat-vietnamese-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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 {
  /* Palette */
  --emerald: #5fbf7f;
  --grey: #58595b;
  --charcoal: #404041;
  --cream: #f2f6d9;
  --mint: #a9d7ae;
  --jade: #357643;
  --gold: #cf9c5a;
  --bronze: #836231;
  --rust: #8a3730;
  --deep-green: #065045;
  --teal: #0f7168;
  --teal-dark: #0a5a53;
  --white: #ffffff;
  --emerald-20: color-mix(in oklch, #5fbf7f 20%, #ffffff);
  --deep-green-raised: #0a5a4e;       /* panels laid on Deep Green */
  --mint-wash: rgba(169, 215, 174, 0.18);
  --mint-line-on-dark: rgba(169, 215, 174, 0.3);
  --text-on-dark: #dbe8df;            /* secondary text on Deep Green, 9.6:1 */
  --text-on-dark-muted: #b9d3c3;      /* tertiary text on Deep Green, 7.3:1 */
  --neutral-100: #f4f5f2;             /* disabled fields */
  --neutral-200: #eceee8;             /* unchecked markers */
  --neutral-300: #d3d9c8;             /* empty stars */
  --warning-bg: #faf3e6;
  --warning-line: #e7cfa6;
  --error-bg: #f7ecea;
  --error-line: #e3bdb8;
  --shadow-photo: 0 24px 48px -28px rgba(0, 30, 24, 0.55);
  --shadow-menu: 0 18px 40px -18px rgba(0, 40, 32, 0.35);
  --shadow-panel: 0 30px 60px -30px rgba(0, 30, 24, 0.6);
  --overlay-hero: linear-gradient(180deg, rgba(3, 38, 33, 0.62) 0%, rgba(6, 80, 69, 0.55) 55%, rgba(3, 38, 33, 0.7) 100%);
  --overlay-page: linear-gradient(90deg, rgba(3, 38, 33, 0.82) 0%, rgba(6, 80, 69, 0.55) 55%, rgba(6, 80, 69, 0.15) 100%);
  --overlay-band: linear-gradient(90deg, rgba(3, 38, 33, 0.85) 0%, rgba(3, 38, 33, 0.35) 70%);
  --glass-light: rgba(255, 255, 255, 0.14);

  /* Roles */
  --color-background: var(--white);
  --color-surface: var(--cream);
  --color-foreground: var(--deep-green);
  --color-muted: var(--grey);
  --color-border: var(--mint);
  --color-border-strong: var(--grey);
  --color-accent: var(--teal);
  --color-accent-hover: var(--teal-dark);
  --color-accent-secondary: var(--emerald);
  --color-on-accent: var(--white);
  --color-ground-dark: var(--deep-green);
  --color-success: var(--jade);
  --color-warning: var(--bronze);
  --color-error: var(--rust);
  --color-focus: var(--teal);

  /* Type */
  --font-sans: "Montserrat", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Oswald", "Arial Narrow", "Montserrat", sans-serif;
  --font-slogan: "Quicksand", "Be Vietnam Pro", system-ui, sans-serif;

  --text-display: clamp(2.75rem, 1.6rem + 4.2vw, 5rem);
  --text-h1: clamp(2.375rem, 1.6rem + 2.8vw, 4rem);
  --text-h2: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  --text-h3: 1.375rem;
  --text-h4: 1.125rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-eyebrow: 0.8125rem;

  --leading-tight: 1.1;
  --leading-heading: 1.25;
  --leading-body: 1.6;
  --tracking-display: -0.01em;
  --tracking-caps: 0.08em;

  /* Space, radius, line, motion */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --line: 1px;
  --control-height: 44px;
  --control-height-sm: 36px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-base: 200ms;

  --container: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --duration-fast: 0ms; --duration-base: 0ms; }
}
