:root {
  --sp-forest: #173f30;
  --sp-forest-dark: #08241a;
  --sp-leaf: #cde36d;
  --sp-cream: #fffdf8;
  --sp-ink: #183129;
  --sp-ink-soft: #5a6964;
  --sp-line: rgba(23, 63, 48, 0.18);
  --sp-serif: Georgia, "Times New Roman", serif;
  --sp-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--sp-forest-dark);
  color: var(--sp-ink);
  font-family: var(--sp-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body::before {
  background: var(--sp-leaf);
  content: "";
  display: block;
  height: 0.38rem;
}

a {
  color: var(--sp-forest);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.17em;
}

a:hover {
  color: #496e55;
}

.container {
  max-width: 1380px;
}

.skip-link {
  background: var(--sp-leaf);
  color: var(--sp-forest-dark);
  font-weight: 800;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -6rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid #f0b94d;
  outline-offset: 3px;
}

.site-nav {
  background: rgba(255, 253, 248, 0.97);
  border-bottom: 1px solid var(--sp-line);
  padding-block: 0.9rem;
  position: relative;
  z-index: 5;
}

.navbar-brand {
  align-items: center;
  color: var(--sp-forest-dark);
  display: inline-flex;
  font-size: 0.92rem;
  gap: 0.8rem;
  letter-spacing: 0.11em;
  margin-right: 0.5rem;
  min-width: 0;
  text-transform: uppercase;
}

.brand-name strong {
  display: block;
  font-size: 1.14rem;
  letter-spacing: 0.16em;
  line-height: 0.85;
}

.brand-mark {
  align-items: center;
  background: var(--sp-forest);
  border-radius: 50%;
  display: flex;
  height: 2.8rem;
  justify-content: center;
  position: relative;
  width: 2.8rem;
}

.brand-mark span {
  background: var(--sp-leaf);
  border-radius: 50%;
  height: 0.48rem;
  position: absolute;
  width: 0.48rem;
}

.brand-mark span:nth-child(1) {
  transform: translateY(-0.62rem);
}

.brand-mark span:nth-child(2) {
  transform: translate(-0.55rem, 0.36rem);
}

.brand-mark span:nth-child(3) {
  transform: translate(0.55rem, 0.36rem);
}

.nav-label {
  color: var(--sp-forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.survey-hero {
  background-image:
    linear-gradient(90deg, rgba(8, 36, 26, 0.94) 0%, rgba(8, 36, 26, 0.84) 37%, rgba(8, 36, 26, 0.58) 100%),
    url("../images/summerhill-parks.png");
  background-position: center top;
  background-size: cover;
  min-height: 100vh;
  padding-block: clamp(4.5rem, 7vw, 7rem);
  position: relative;
}

.survey-hero::after {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  height: 20rem;
  left: -8rem;
  position: absolute;
  top: 29rem;
  width: 20rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  padding-top: 2.25rem;
  position: sticky;
  top: 2rem;
  z-index: 1;
}

.hero-copy h1 {
  color: #fff;
  font-family: var(--sp-serif);
  font-size: clamp(4rem, 5.6vw, 5.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

.hero-copy > p:not(.eyebrow) {
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  line-height: 1.55;
  margin-top: 1.75rem;
  max-width: 35rem;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  gap: 0.7rem;
  letter-spacing: 0.17em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 2px;
  width: 2.5rem;
}

.eyebrow-light {
  color: var(--sp-leaf);
}

.survey-card {
  background: rgba(255, 255, 255, 0.97);
  border-top: 0.45rem solid var(--sp-leaf);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.3);
  padding: clamp(1.1rem, 3vw, 2.5rem);
  position: relative;
  min-width: 0;
  z-index: 1;
}

.form-label {
  color: var(--sp-forest);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.survey-card iframe {
  display: block;
  height: 1560px;
  max-width: 100%;
  min-height: 900px;
}

.form-fallback {
  border-top: 1px solid var(--sp-line);
  color: var(--sp-ink-soft);
  font-size: 0.8rem;
  margin: 0;
  padding-top: 1rem;
  text-align: center;
}

.site-footer {
  background: var(--sp-forest-dark);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
  padding-block: 1.5rem;
}

@media (max-width: 991.98px) {
  .survey-hero {
    background-image:
      linear-gradient(rgba(8, 36, 26, 0.78), rgba(8, 36, 26, 0.78)),
      url("../images/summerhill-parks.png");
    background-position: center top;
  }

  .survey-hero::after {
    display: none;
  }

  .hero-copy {
    max-width: 43rem;
    padding-top: 0;
    position: relative;
    top: auto;
  }

  .survey-card {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 0.77rem;
  }

  .brand-name strong {
    font-size: 0.96rem;
  }

  .brand-mark {
    height: 2.45rem;
    width: 2.45rem;
  }

  .nav-label {
    display: none;
  }

  .survey-hero {
    padding-block: 3.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, 15vw, 4.3rem);
    max-width: 7em;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  .survey-card {
    overflow: hidden;
    padding-inline: 0.8rem;
    width: 100%;
  }

  .form-label {
    padding-inline: 0.35rem;
  }

  .survey-card iframe {
    height: 1650px;
  }
}

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