@font-face {
  font-family: Outfit;
  src: url("assets/fonts/outfit.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Caveat;
  src: url("assets/fonts/caveat.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* Brand primitives and 500-step aliases from West Services / Colors. */
  --color-red-50: #FFEBE9;
  --color-red-100: #FFCDC8;
  --color-red-200: #FFA39A;
  --color-red-300: #F17C73;
  --color-red-400: #E0534D;
  --color-red-500: #CE1824;
  --color-red-600: #B2091A;
  --color-red-700: #930011;
  --color-red-800: #71000A;
  --color-red-900: #500005;
  --color-red-950: #340002;

  --color-blue-50: #E3F2FF;
  --color-blue-100: #C3DBF0;
  --color-blue-200: #9DBDD8;
  --color-blue-300: #799FC0;
  --color-blue-400: #5482A8;
  --color-blue-500: #2F6690;
  --color-blue-600: #24577E;
  --color-blue-700: #184769;
  --color-blue-800: #093554;
  --color-blue-900: #00253E;
  --color-blue-950: #001729;

  --color-paper-50: #FDFDFC;
  --color-paper-100: #FCFBFA;
  --color-paper-200: #FBFAF8;
  --color-paper-300: #F9F8F5;
  --color-paper-400: #F8F6F3;
  --color-paper-500: #F6F4F0;
  --color-paper-600: #CFCCC5;
  --color-paper-700: #A4A097;
  --color-paper-800: #777267;
  --color-paper-900: #4D473A;
  --color-paper-950: #2A2316;

  --color-amber-50: #FFF2E2;
  --color-amber-100: #FFE5C5;
  --color-amber-200: #FDD4A0;
  --color-amber-300: #F9C37C;
  --color-amber-400: #F4B253;
  --color-amber-500: #EFA00B;
  --color-amber-600: #CB8600;
  --color-amber-700: #A36B00;
  --color-amber-800: #784E00;
  --color-amber-900: #503300;
  --color-amber-950: #2F1C00;

  --color-brand-primary: var(--color-red-500);
  --color-brand-steel: var(--color-blue-500);
  --color-brand-ground: var(--color-paper-500);
  --color-brand-signal: var(--color-amber-500);

  /* Surface and text pairs. See design-system.md for the pairing matrix. */
  --ws-surface-page: var(--color-brand-ground);
  --ws-surface-card: #FFFFFF;
  --ws-surface-card-muted: #E2DCD2;
  --ws-surface-deep: var(--color-blue-800);
  --ws-surface-photo: var(--color-blue-800);
  --ws-surface-warm: var(--color-amber-50);
  --ws-surface-warm-row: var(--color-amber-200);
  --ws-surface-frame: var(--color-paper-300);
  --ws-text-heading: var(--color-blue-950);
  --ws-text-eyebrow: var(--color-brand-steel);
  --ws-eyebrow-gold: #FFD7A1;
  --ws-text-body: var(--color-paper-900);
  --ws-text-muted: var(--color-blue-600);
  --ws-text-note: var(--color-paper-900);
  --ws-text-quote: var(--color-paper-950);
  --ws-text-warm: var(--color-amber-950);
  --ws-text-on-dark: var(--color-blue-50);
  --ws-text-on-dark-strong: var(--ws-surface-card);
  --ws-text-on-dark-muted: var(--color-blue-100);
  --ws-text-on-photo: var(--ws-text-on-dark);
  --ws-text-on-photo-muted: var(--ws-text-on-dark-muted);

  --ws-border-quiet: rgba(47, 102, 144, 0.16);
  --ws-border-subtle: var(--color-paper-600);
  --ws-border-control: var(--color-blue-600);
  --ws-link: var(--color-blue-600);
  --ws-link-hover: var(--color-blue-800);
  --ws-link-active: var(--color-blue-950);
  --ws-link-visited: var(--color-paper-900);
  --ws-link-on-dark: var(--color-brand-signal);
  --ws-link-on-dark-hover: var(--color-amber-200);
  --ws-link-on-dark-active: var(--color-amber-100);
  --ws-link-on-dark-visited: var(--ws-link-on-dark);
  --ws-focus-light: var(--color-blue-800);
  --ws-focus-dark: var(--color-brand-signal);
  --ws-focus-on-red: var(--ws-surface-card);

  /* Reference scrims use the source crops. The solid-backed extensions give
     new crops a measurable fallback across the entire copy area. */
  --ws-scrim-hero: linear-gradient(90deg, rgba(9, 53, 84, 0.72) 0%, rgba(9, 53, 84, 0.28) 46%, rgba(9, 53, 84, 0.05) 100%);
  --ws-scrim-service: linear-gradient(90deg, rgba(9, 53, 84, 0.25) 0%, rgba(9, 53, 84, 0.75) 46%, #093554 100%);
  --ws-scrim-estimate: linear-gradient(90deg, rgba(246, 244, 240, 0.96) 0%, rgba(246, 244, 240, 0.90) 26%, rgba(246, 244, 240, 0.62) 40%, rgba(246, 244, 240, 0.16) 54%, rgba(246, 244, 240, 0) 68%);
  --ws-overlay-photo-copy: rgba(9, 53, 84, 0.94);
  --ws-overlay-estimate-copy: rgba(246, 244, 240, 0.95);
  --ws-rating-bg: rgba(0, 23, 41, 0.34);
  --ws-rating-bg-solid: var(--color-blue-950);

  /* Actions and feedback. The green presence dot is an existing visual detail. */
  --ws-phone-bg: var(--color-red-50);
  --ws-phone-text: var(--color-brand-primary);
  --ws-phone-border: var(--color-red-200);
  --ws-phone-hover-bg: var(--color-red-100);
  --ws-phone-hover-text: var(--color-red-600);
  --ws-phone-hover-border: var(--color-red-200);
  --ws-phone-active-bg: var(--color-red-200);
  --ws-phone-active-text: var(--color-red-700);
  --ws-phone-active-border: var(--color-red-300);
  --ws-presence-dot: #22C55E;
  --ws-primary-bg: var(--color-brand-primary);
  --ws-primary-text: var(--ws-surface-card);
  --ws-primary-hover-bg: var(--color-red-600);
  --ws-primary-active-bg: var(--color-red-700);
  --ws-disabled-bg: var(--color-paper-600);
  --ws-disabled-text: var(--color-paper-900);
  --ws-disabled-border: var(--color-paper-700);
  --ws-state-success-bg: var(--color-blue-50);
  --ws-state-success-text: var(--color-blue-700);
  --ws-state-success-mark: var(--color-blue-500);
  --ws-state-warning-bg: var(--color-amber-50);
  --ws-state-warning-text: var(--color-amber-900);
  --ws-state-warning-mark: var(--color-amber-800);
  --ws-state-error-bg: var(--color-red-50);
  --ws-state-error-text: var(--color-red-700);
  --ws-state-error-mark: var(--color-brand-primary);

  /* West Services / Type. Sizes are expressed in rem at the brand's 16px base. */
  --ws-font-main: Outfit, system-ui, sans-serif;
  --ws-font-accent: Caveat, cursive;
  --ws-type-display-size: 4.75rem;
  --ws-type-display-weight: 700;
  --ws-type-display-leading: 1.04;
  --ws-type-display-tracking: -0.02em;
  --ws-type-h1-size: 3.8125rem;
  --ws-type-h1-weight: 700;
  --ws-type-h1-leading: 1.08;
  --ws-type-h1-tracking: -0.02em;
  --ws-type-h2-size: 3.0625rem;
  --ws-type-h2-weight: 600;
  --ws-type-h2-leading: 1.12;
  --ws-type-h2-tracking: -0.01em;
  --ws-type-h3-size: 2.4375rem;
  --ws-type-h3-weight: 600;
  --ws-type-h3-leading: 1.20;
  --ws-type-h3-tracking: -0.01em;
  --ws-type-h4-size: 1.9375rem;
  --ws-type-h4-weight: 600;
  --ws-type-h4-leading: 1.28;
  --ws-type-h4-tracking: 0;
  --ws-type-h5-size: 1.5625rem;
  --ws-type-h5-weight: 500;
  --ws-type-h5-leading: 1.36;
  --ws-type-h5-tracking: 0;
  --ws-type-h6-size: 1.25rem;
  --ws-type-h6-weight: 600;
  --ws-type-h6-leading: 1.40;
  --ws-type-h6-tracking: 0.08em;
  --ws-type-h6-transform: uppercase;
  --ws-type-lead-size: 1.25rem;
  --ws-type-lead-weight: 400;
  --ws-type-lead-leading: 1.50;
  --ws-type-lead-tracking: 0;
  --ws-type-body-size: 1rem;
  --ws-type-body-weight: 400;
  --ws-type-body-leading: 1.50;
  --ws-type-body-tracking: 0;
  --ws-type-body-strong-size: var(--ws-type-body-size);
  --ws-type-body-strong-weight: 600;
  --ws-type-body-strong-leading: var(--ws-type-body-leading);
  --ws-type-body-strong-tracking: var(--ws-type-body-tracking);
  --ws-type-small-size: 0.8125rem;
  --ws-type-small-weight: 400;
  --ws-type-small-leading: 1.50;
  --ws-type-small-tracking: 0;
  --ws-type-button-size: 1rem;
  --ws-type-button-weight: 600;
  --ws-type-button-leading: 1;
  --ws-type-button-tracking: 0;
  --ws-type-accent-xl-size: 3.8125rem;
  --ws-type-accent-xl-weight: 700;
  --ws-type-accent-xl-leading: 1.20;
  --ws-type-accent-xl-tracking: 0;
  --ws-type-accent-size: 2.4375rem;
  --ws-type-accent-weight: 400;
  --ws-type-accent-leading: 1.30;
  --ws-type-accent-tracking: 0;
  --ws-type-accent-small-size: 1.5625rem;
  --ws-type-accent-small-weight: 400;
  --ws-type-accent-small-leading: 1.40;
  --ws-type-accent-small-tracking: 0;

  /* Homepage roles can diverge from the brand scale. */
  --ws-type-hero-size: 4.5rem;
  --ws-type-hero-weight: var(--ws-type-display-weight);
  --ws-type-hero-leading: 1.05;
  --ws-type-hero-tracking: var(--ws-type-display-tracking);
  --ws-type-section-size: var(--ws-type-h3-size);
  --ws-type-section-weight: var(--ws-type-h3-weight);
  --ws-type-section-leading: var(--ws-type-h3-leading);
  --ws-type-section-tracking: var(--ws-type-h3-tracking);
  --ws-type-feature-size: 2.6rem;
  --ws-type-feature-weight: var(--ws-type-h1-weight);
  --ws-type-feature-leading: 1.15;
  --ws-type-feature-tracking: -0.015em;
  --ws-type-service-size: var(--ws-type-h4-size);
  --ws-type-service-weight: var(--ws-type-h4-weight);
  --ws-type-service-leading: var(--ws-type-h4-leading);
  --ws-type-service-tracking: var(--ws-type-h4-tracking);
  --ws-type-emergency-size: var(--ws-type-h3-size);
  --ws-type-emergency-weight: var(--ws-type-h1-weight);
  --ws-type-emergency-leading: 1.20;
  --ws-type-emergency-tracking: 0;
  --ws-type-hero-lead-size: 1.5rem;
  --ws-type-hero-lead-weight: var(--ws-type-lead-weight);
  --ws-type-hero-lead-leading: 1.28;
  --ws-type-hero-lead-tracking: var(--ws-type-lead-tracking);
  --ws-type-eyebrow-size: var(--ws-type-accent-small-size);
  --ws-type-eyebrow-weight: var(--ws-type-accent-small-weight);
  --ws-type-eyebrow-leading: var(--ws-type-accent-small-leading);
  --ws-type-eyebrow-tracking: var(--ws-type-accent-small-tracking);
  --ws-type-phone-size: 1rem;
  --ws-type-phone-weight: 700;
  --ws-type-phone-leading: 1.20;
  --ws-type-phone-tracking: 0.02em;
  --ws-type-navigation-size: 0.875rem;
  --ws-type-navigation-weight: 500;
  --ws-type-navigation-leading: 1.50;
  --ws-type-navigation-tracking: 0.01em;
  --ws-type-service-body-size: 0.95rem;
  --ws-type-service-body-weight: 400;
  --ws-type-service-body-leading: 1.70;
  --ws-type-service-body-tracking: 0;
  --ws-type-service-link-size: var(--ws-type-button-size);
  --ws-type-service-link-weight: var(--ws-type-button-weight);
  --ws-type-service-link-leading: 1.30;
  --ws-type-service-link-tracking: 0.01em;

  --ws-container: 1120px;
  --ws-gutter: 24px;
  --ws-pair-gap: 30px;
  --ws-section-space: 72px;
  --ws-content-measure: 62ch;
  --ws-hero-min-height: 80vh;
  --ws-space-1: 4px;
  --ws-space-2: 8px;
  --ws-space-3: 12px;
  --ws-space-4: 16px;
  --ws-space-5: 20px;
  --ws-space-6: 24px;
  --ws-space-7: 28px;
  --ws-space-8: 32px;
  --ws-space-10: 40px;
  --ws-space-12: 48px;
  --ws-space-14: 56px;
  --ws-space-16: 64px;
  --ws-space-18: 72px;
  --ws-space-20: 80px;
  --ws-space-22: 88px;
  --ws-space-24: 96px;

  --ws-radius-card: 4px;
  --ws-radius-pill: 999px;
  --ws-radius-circle: 50%;
  --ws-radius-focus: 2px;
  --ws-control-min: 44px;
  --ws-focus-width: 2px;
  --ws-focus-offset: 3px;
  --ws-hero-copy-measure: 840px;
  --ws-phone-width: 248px;
  --ws-phone-width-narrow: 280px;
  --ws-phone-height: 62px;
  --ws-phone-avatar: 50px;
  --ws-phone-inset: 5px;
  --ws-phone-gap: 14px;
  --ws-rating-height: 35px;
  --ws-logo-header-height: 60px;
  --ws-logo-footer-width: 88px;

  --ws-shadow-header: 0 4px 24px rgba(9, 53, 84, 0.08);
  --ws-shadow-card: 0 8px 28px rgba(9, 53, 84, 0.08);
  --ws-shadow-card-hover: 0 12px 32px rgba(9, 53, 84, 0.12);
  --ws-shadow-phone: 0 4px 18px rgba(206, 24, 36, 0.12);
  --ws-shadow-phone-hover: 0 8px 24px rgba(206, 24, 36, 0.18);
  --ws-shadow-print: 0 13px 16px rgba(0, 23, 41, 0.10);
  --ws-shadow-seal: 0 8px 20px rgba(206, 24, 36, 0.28);
  --ws-motion-fast: 200ms;
  --ws-motion-standard: 300ms;
  --ws-motion-entrance: 450ms;
  --ws-motion-ease: ease;
  --ws-motion-lift: -1px;
}

@media (max-width: 1100px) {
  :root {
    --ws-type-hero-size: 3.5rem;
  }
}

@media (max-width: 1000px) {
  :root {
    --ws-type-service-size: 1.5rem;
    --ws-type-service-body-size: 0.875rem;
    --ws-type-service-body-leading: 1.45;
    --ws-type-service-link-size: 0.9375rem;
  }
}

@media (max-width: 860px) {
  :root {
    --ws-type-hero-size: 2.5rem;
    --ws-type-hero-lead-size: 1.125rem;
    --ws-type-section-size: var(--ws-type-h4-size);
    --ws-type-feature-size: 2rem;
    --ws-type-emergency-size: 1.75rem;
    --ws-type-service-size: 1.75rem;
    --ws-type-service-body-size: 0.95rem;
    --ws-type-service-body-leading: 1.70;
    --ws-type-service-link-size: 1rem;
    --ws-section-space: 48px;
  }
}

@media (max-width: 520px) {
  :root {
    --ws-type-hero-size: 2.125rem;
    --ws-type-section-size: 1.75rem;
    --ws-type-service-size: var(--ws-type-h6-size);
    --ws-type-service-leading: 1.15;
    --ws-type-service-body-size: var(--ws-type-small-size);
    --ws-type-service-body-leading: 1.40;
    --ws-type-service-link-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ws-motion-fast: 0ms;
    --ws-motion-standard: 0ms;
    --ws-motion-entrance: 0ms;
    --ws-motion-lift: 0;
  }
}
