/**
 * Minimal reset — no normalize.css dependency.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--bes-font-body);
  font-size: var(--bes-fs-body);
  line-height: var(--bes-lh-body);
  color: var(--bes-text);
  background: var(--bes-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

:focus-visible {
  outline: 3px solid var(--bes-gold);
  outline-offset: 2px;
}

/* Skip link */
.bes-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--bes-gold);
  color: var(--bes-black);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: top var(--bes-dur-fast) var(--bes-ease);
}

.bes-skip-link:focus {
  top: 16px;
}

/* Body scroll lock when mobile menu is open */
body.bes-no-scroll {
  overflow: hidden;
}
