/* ==========================================================================
   BASE & RESET STYLES
   Unified Root Scroller, Typography Defaults & Utility Resets
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  background-color: #FFFFFF;
  color: var(--color-alabaster, #FAF9F6);
  font-family: var(--font-primary);
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  font-family: var(--font-primary);
  background-color: var(--page-bg, #FAF9F6);
  color: inherit;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 100vh Locked Viewport State for Hero & Story Viewpoint */
html.locked-100vh, body.locked-100vh {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
}

/* Text Selection */
::selection {
  background: rgba(230, 0, 46, 0.35);
  color: #FFFFFF;
}

/* Base Elements */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

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

/* Hidden Utility */
.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;
}
