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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-copy);
  color: var(--color-text);
  background: #070509;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background: none;
  opacity: 0;
}

body::after {
  background: none;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

main {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

main::before,
main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: -1;
}

main::before {
  display: none;
}

main::after {
  top: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(7, 5, 9, 0) 0%, rgba(7, 5, 9, 0) 56%, rgba(7, 5, 9, 0.14) 78%, rgba(7, 5, 9, 0.38) 100%),
    url("../assets/generated/about-world.png") center top / cover no-repeat;
  opacity: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

input {
  min-width: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 3px;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(var(--space-56), 8vw, var(--space-80));
}

.skip-link {
  position: absolute;
  left: var(--space-16);
  top: -4rem;
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-bg);
  z-index: 20;
}

.skip-link:focus {
  top: var(--space-16);
}

::selection {
  background: rgba(var(--color-accent-rgb), 0.28);
  color: var(--color-text);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 920px) {
  main::after {
    background:
      linear-gradient(180deg, rgba(7, 5, 9, 0) 0%, rgba(7, 5, 9, 0) 52%, rgba(7, 5, 9, 0.18) 78%, rgba(7, 5, 9, 0.46) 100%),
      url("../assets/generated/about-world.png") center top / cover no-repeat;
  }
}
