:root {
  --color-teal: #006D6F;
  --color-teal-dark: #005456;
  --color-burgundy: #922B3E;
  --color-cream: #F6F2EC;
  --color-beige: #E5D4C0;
  --color-dark: #2B2119;
  --color-success: #2D7D46;
  --color-error: #C62828;
  --color-warning: #E6A817;
  --color-gray: #6B6B6B;
  --color-gray-secondary: #9E9E9E;

  --font-family: 'DM Sans', sans-serif;

  --font-size-h1: clamp(2.5rem, 5vw, 4rem);
  --font-weight-h1: 700;
  --line-height-h1: 1.1;

  --font-size-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --font-weight-h2: 600;
  --line-height-h2: 1.2;

  --font-size-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --font-weight-h3: 500;
  --line-height-h3: 1.3;

  --font-size-body: clamp(1rem, 1.2vw, 1.125rem);
  --font-weight-body: 400;
  --line-height-body: 1.65;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  background: var(--color-dark);
  color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
  line-height: var(--line-height-h1);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: var(--line-height-h2);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: var(--line-height-h3);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

::selection {
  background: var(--color-teal);
  color: var(--color-cream);
}

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: var(--color-cream);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 1rem;
}

@media (hover: none) and (pointer: coarse) {
  *, *::before, *::after {
    cursor: auto !important;
  }
  .cursor-dot,
  .cursor-follower {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }
}
