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

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

body {
  margin: 0;
  background-color: #ffffff;
  color: #1a1a1a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Visible keyboard focus */
:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}

/* Hidden from view, still read by screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Page: hero image centred on the screen */
.page {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

/* Hero artwork (from atta-website-hero/hero.css) */
.atta-hero {
  display: block;
  width: 100%;
  max-width: 2172px;
  margin-inline: auto;
  background: #ffffff;
}

.atta-hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  mix-blend-mode: multiply;
  /* Soft transparent edges so the artwork blends into the white page */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

@media (max-width: 640px) {
  .atta-hero img {
    aspect-ratio: 1 / 1;
  }
}
