:root {
  --ink: #1c241e;
  --muted: #4d574f;
  --paper: #f5f3ee;
  --white: #fffcf8;
  --forest: #1a2c22;
  --green: #47704c;
  --blue: #0071ba;
  --gold: #c8982c;
  --red: #9d1c1f;
  --header: 128px;
  --shadow: 0 24px 60px rgba(20, 28, 22, 0.28);
  font-family: Montserrat, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.05rem;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
p { margin: 0 0 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--header);
  padding: 0.85rem 4vw;
  color: white;
  background: #122018;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid {
  background: #122018;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}
.logo img {
  width: auto;
  height: auto;
  max-width: min(520px, 72vw);
  max-height: calc(var(--header) - 1.7rem);
}

.scene { position: relative; overflow: hidden; }
.scene-media {
  position: absolute;
  inset: -18% 0;
  z-index: 0;
}
.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--shift, 0px), 0) scale(1.06);
  will-change: transform;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: white;
  text-align: center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 20, 16, 0.45), rgba(12, 20, 16, 0.15) 30%, rgba(12, 20, 16, 0.55));
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem 4rem;
  max-width: 920px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-link {
  display: inline-block;
  margin-top: 0.4rem;
  background: #122018;
  color: white;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border: 0;
  cursor: pointer;
}
.hero-link:hover { background: var(--green); color: white; }
.hero-note {
  margin: 0.85rem 0 0;
  color: white;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  line-height: 1.4;
}

.brand-rule {
  display: flex;
  width: min(280px, 70%);
  height: 4px;
  margin: 1.4rem auto 1.2rem;
}
.brand-rule i { flex: 1; display: block; }
.brand-rule i:nth-child(1) { background: var(--green); }
.brand-rule i:nth-child(2) { background: var(--blue); }
.brand-rule i:nth-child(3) { background: var(--gold); }
.brand-rule i:nth-child(4) { background: var(--red); }

.intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 80vh;
  background: var(--white);
}
.intro-copy {
  padding: 6.5rem 8vw 5rem 7vw;
  align-self: center;
}
#survey { scroll-margin-top: calc(var(--header) + 1rem); }
.intro-visual {
  position: sticky;
  top: var(--header);
  align-self: start;
  height: calc(100vh - var(--header));
  min-height: 520px;
}
.intro-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: 1;
  background: linear-gradient(to top, rgba(14, 22, 18, 0.62), transparent);
  pointer-events: none;
}
.intro-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 2.75rem 2rem 2.4rem;
  color: white;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.pool { min-height: 78vh; }

.survey {
  display: block;
  width: 100%;
  height: 1400px;
  border: 0;
  background: white;
  border-radius: 8px;
}

.contact {
  padding: 6rem 7vw;
  background: var(--white);
}
.contact h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}
.contact .brand-rule {
  width: 200px;
  margin: 0.15rem 0 0.85rem;
}
.contact h3 { margin: 0 0 0.6rem; font-weight: 600; }
address { font-style: normal; line-height: 1.8; }
.sentry-login {
  display: inline-block;
  margin-top: 1.25rem;
  background: var(--forest);
  color: white;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
}
.sentry-login:hover { background: var(--green); color: white; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 7vw;
  background: var(--forest);
  color: white;
}
.site-footer img { height: 42px; width: auto; }
.site-footer p { margin: 0; font-size: 0.92rem; }
.site-footer a { color: white; }

@media (max-width: 980px) {
  .intro { grid-template-columns: 1fr; }
  .intro-copy, .contact { padding: 3.5rem 6vw; }
  .intro-visual {
    position: relative;
    top: auto;
    height: 70vh;
    min-height: 420px;
  }
  .site-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-media img { transform: none; }
}
