/* ==========================================================================
   Base / reset / shared primitives
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--ref-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Accessibility ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ---- Eyebrow / editorial metadata ---- */
.eyebrow {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.32em;
  line-height: 1.75;
  text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-ui) var(--ease-mech);
}

.btn--primary {
  background: var(--mas-red);
  color: var(--white);
}
.btn--primary:hover { background: var(--mas-red-hover); }

.btn__arrow {
  display: inline-block;
  font-size: 14px;
  transition: transform var(--dur-ui) var(--ease-mech);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---- Reduced motion: no transitions at all (not a shortened duration) ---- */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn__arrow { transition: none; }
  .btn:hover .btn__arrow { transform: none; }
}
