/* VALDORO design tokens v1.3
 * Based on Jess's tokens v1.2 (Drive: 04 Projects / VALDORO / valdoro-design-tokens-v1.2.css).
 * Change from v1.2: display font is Protest Revolution (Wic, 17 Nov 2026: Caveat Brush not suitable).
 * Both fonts are SIL Open Font License, self-hosted below. */

@font-face {
  font-family: "Protest Revolution";
  src: url("../fonts/protest-revolution-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Protest Revolution";
  src: url("../fonts/protest-revolution-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; 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: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; 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 {
  /* Brand palette (sampled from the brand board) */
  --vd-teal: #014B50;
  --vd-orange: #F75202;
  --vd-gold: #FAAC1D;
  --vd-coral: #F75439;
  --vd-ink: #011017;
  --vd-cream: #F9F2E6;

  /* UI support colours */
  --vd-paper: #FFF9F0;
  --vd-white: #FFFFFF;
  --vd-muted: #425B60;
  --vd-border: #D9D1C4;
  --vd-success: #146344;
  --vd-error: #B3261E;
  --vd-closed: #65737A;

  /* Semantic aliases */
  --vd-bg: var(--vd-cream);
  --vd-surface: var(--vd-paper);
  --vd-text: var(--vd-ink);
  --vd-text-secondary: var(--vd-muted);
  --vd-action-bg: var(--vd-gold);
  --vd-action-text: var(--vd-ink);
  --vd-dark-bg: var(--vd-teal);
  --vd-dark-text: var(--vd-cream);

  /* Fonts */
  --vd-font-display: "Protest Revolution", "Trebuchet MS", sans-serif;
  --vd-font-body: "Manrope", Arial, sans-serif;

  /* Fluid type */
  --vd-type-hero: clamp(3.5rem, 8vw, 7rem);
  --vd-type-h1: clamp(2.9rem, 6vw, 5rem);
  --vd-type-h2: clamp(2.5rem, 4.6vw, 4rem);
  --vd-type-h3: clamp(1.375rem, 2vw, 1.625rem);
  --vd-type-lead: 1.125rem;
  --vd-type-body: 1rem;
  --vd-type-small: .875rem;

  /* 4px spacing scale */
  --vd-space-1: .25rem;
  --vd-space-2: .5rem;
  --vd-space-3: .75rem;
  --vd-space-4: 1rem;
  --vd-space-6: 1.5rem;
  --vd-space-8: 2rem;
  --vd-space-12: 3rem;
  --vd-space-16: 4rem;
  --vd-space-24: 6rem;

  /* Layout */
  --vd-container: 75rem;
  --vd-gutter: 1rem;
  --vd-grid-gap: 1rem;
  --vd-section-y: 3.5rem;
  --vd-header-height: 4.25rem;

  /* Surfaces */
  --vd-radius-input: .75rem;
  --vd-radius-card: 1.25rem;
  --vd-radius-pill: 999px;
  --vd-shadow-card: 0 12px 32px rgba(1, 16, 23, .10);
  --vd-shadow-hover: 0 18px 42px rgba(1, 16, 23, .14);
  --vd-photo-overlay: rgba(1, 16, 23, .70);

  /* Motion */
  --vd-motion-fast: 200ms;
  --vd-motion-medium: 300ms;
  --vd-motion-reveal: 600ms;
  --vd-ease: cubic-bezier(.2, .7, .2, 1);

  /* Layer order */
  --vd-z-decoration: 1;
  --vd-z-content: 2;
  --vd-z-header: 30;
  --vd-z-dropdown: 40;
  --vd-z-consent: 60;
  --vd-z-modal: 80;
}

@media (min-width: 48rem) {
  :root { --vd-gutter: 2rem; --vd-grid-gap: 1.25rem; --vd-section-y: 4.5rem; --vd-header-height: 5rem; }
}
@media (min-width: 64rem) {
  :root { --vd-gutter: 2.5rem; --vd-grid-gap: 1.5rem; --vd-section-y: 6rem; --vd-header-height: 5.5rem; }
}
@media (min-width: 90rem) {
  :root { --vd-section-y: 7rem; }
}
