*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.gpv2-site {
  --wc-primary: var(--gpv2-accent);
  --wc-primary-text: #eff7f8;
  --wc-secondary: rgb(229 238 240 / 86%);
  --wc-secondary-text: var(--gpv2-ink);

  min-height: 100vh;
  margin: 0;
  color: var(--gpv2-ink);
  background:
    linear-gradient(135deg, rgb(217 228 231 / 58%), rgb(104 127 137 / 32%)),
    linear-gradient(180deg, rgb(229 237 239 / 12%), rgb(40 62 72 / 24%)),
    url("../images/river-valley-dawn-v1.webp") center / cover fixed,
    var(--gpv2-canvas);
  font-family: var(--gpv2-font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.gpv2-site::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 8%, rgb(245 221 184 / 20%), transparent 30%),
    linear-gradient(180deg, rgb(223 234 237 / 8%), rgb(32 54 64 / 16%));
  content: "";
  pointer-events: none;
}

body.gpv2-site::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(221 231 233 / 14%), transparent 36% 68%, rgb(32 55 65 / 8%));
  content: "";
  pointer-events: none;
}

a {
  color: var(--gpv2-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gpv2-accent-hover);
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.025em;
}

:focus-visible {
  outline: 3px solid rgb(23 109 139 / 38%);
  outline-offset: 3px;
}

.screen-reader-text,
.gpv2-skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gpv2-skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--gpv2-ink);
  background: var(--gpv2-surface-strong);
  border-radius: var(--gpv2-radius-md);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

@media (max-width: 760px) {
  body.gpv2-site {
    background-attachment: scroll;
    background-position: 58% top;
  }
}
