html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  --spotlight-x: 50%;
  --spotlight-y: 42%;
  min-height: 100vh;
  background: #0a4f93;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 31, 71, 0.14), rgba(4, 28, 65, 0.24)),
    url("../assets/img/rotarywebdesignbackground.jpeg") center / cover no-repeat;
}

.site-background::after {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(
      circle at var(--spotlight-x) var(--spotlight-y),
      rgba(255, 255, 255, 0.34) 0,
      rgba(247, 168, 27, 0.24) 12rem,
      rgba(0, 103, 200, 0.12) 24rem,
      rgba(0, 103, 200, 0) 38rem
    );
  mix-blend-mode: screen;
  opacity: 0.75;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

p {
  max-width: 66ch;
}

strong {
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

::selection {
  background: var(--color-gold);
  color: var(--color-ink);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: var(--color-white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-title {
  max-width: 26ch;
  font-size: 1.75rem;
  line-height: 1.08;
  text-wrap: balance;
}

.section-copy {
  color: rgba(16, 32, 51, 0.76);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero .section-copy {
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 720px) {
  body {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .section-copy {
    font-size: 1.12rem;
  }
}

@media (min-width: 1080px) {
  .section-title {
    font-size: 2.7rem;
  }
}
