/* ==========================================================================
   PRISM — Base / Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color var(--dur-slow) var(--ease-smooth), color var(--dur-slow) var(--ease-smooth);
  overflow-x: hidden;
}

img, svg, video, picture { display: block; max-width: 100%; color:#84B292; }
.nav__chevron{color:#082640;}
[data-theme="dark"] .nav__chevron {color:#84B292;}

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

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

button { cursor: pointer; background: none; border: none; padding: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-tight);
}

h1 { font-size: var(--fs-h1); font-weight: 600; letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); font-weight: 600; letter-spacing: var(--ls-tight); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

::selection {
  background: var(--brand-violet);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand-indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Custom scrollbar (progressive enhancement, WebKit + Firefox) */
html { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-300); background-clip: padding-box; }

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -80px;
  z-index: var(--z-toast);
  background: var(--ink-900);
  color: var(--bg);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-small);
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
