/* ==========================================================================
   Monkey Minds — Webflow CSS Reset
   Generic. Served from mm-front: /v1/reset.css
   Project-specific values (shadows, overlays, colours) do NOT go here —
   they live in Webflow as variables/classes.
   ========================================================================== */

/******************************** Normalize Fonts ********************************/
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/******************************** Remove Tap Highlight ********************************/
* {
  -webkit-tap-highlight-color: transparent;
}

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

/******************************** Fluid Typography ********************************/
/* 1rem below 992px and above 1440px */
html {
  font-size: calc(0.625rem + 0.42vw);
}
@media screen and (max-width: 991px) {
  html {
    font-size: 1rem;
  }
}
@media screen and (min-width: 1440px) {
  html {
    font-size: 1rem;
  }
}

/******************************** Overflow ********************************/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/******************************** Reduced Motion ********************************/
/* CSS only — GSAP handles its own via matchMedia */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/******************************** Media Elements ********************************/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
img,
video {
  height: auto;
  max-width: 100%;
}

/******************************** Form Elements ********************************/
input,
textarea,
select {
  font: inherit;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
button {
  border: none;
  padding: 0;
  background-color: unset;
  cursor: pointer;
  font: inherit;
}

/******************************** Focus Accessibility ********************************/
/* Hide for mouse, show for keyboard */
* {
  outline: none;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/******************************** Webflow Overrides ********************************/
.w-richtext > :first-child {
  margin-top: 0;
}
.w-richtext > :last-child {
  margin-bottom: 0;
}
.w-form-formradioinput--inputType-custom.w--redirected-checked {
  border: none !important;
}

/******************************** Utilities ********************************/
.css,
.js,
.code-block {
  display: none;
}
