:root {
  font-family: "DM Sans", Arial, sans-serif;
  color: #213128;
  background: #faf4e7;
  color-scheme: light;
  --paper: #faf4e7;
  --ink: #162b21;
  --pine: #173e32;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b75528; outline-offset: 4px; }

.site-header {
  height: 76px;
  padding-inline: clamp(21px, 4.6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #49392715;
  background: var(--paper);
  position: relative;
  z-index: 4;
}

.brand { display: inline-flex; width: 147px; align-items: center; }
.brand img { width: 100%; height: auto; display: block; }
.contact-link {
  padding: 9px 0;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  font-size: .94rem;
  font-weight: 700;
}
.contact-link:hover { text-decoration-color: currentColor; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(663px, calc(100svh - 76px));
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(ellipse at 50% 34%, #fffbef 0%, transparent 59%),
    var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  align-self: start;
  justify-self: center;
  max-width: 900px;
  padding: clamp(43px, 6.5vh, 96px) 24px 28px;
  margin-bottom: clamp(76px, 11vh, 124px);
}

.eyebrow {
  margin: 0 0 20px;
  color: #355144;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(4.35rem, 8.8vw, 7.55rem)/.85 "Instrument Serif", Georgia, serif;
  letter-spacing: -.037em;
}
h1 em { color: #315c45; font-weight: 400; }
.hero-description {
  margin: 23px auto 24px;
  max-width: 410px;
  color: #31443a;
  font-size: clamp(1rem, 1.3vw, 1.11rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.primary-action {
  min-height: 52px;
  min-width: 156px;
  padding: 13px 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55em;
  border: 1px solid #254b3b;
  border-radius: 8px;
  background: #15392c;
  color: #fff9e9;
  box-shadow: 0 8px 24px #183e2c32, inset 0 1px 0 #fffbdf22;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.primary-action:hover {
  transform: translateY(-2px);
  background: #24523e;
  box-shadow: 0 11px 28px #183e2c44;
}

.scenery {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  overflow: hidden;
  height: clamp(356px, 65vh, 720px);
  background: #264536;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26%);
}
.scenery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 34% 40% at 50% 26%, #faf4e7d9 0%, #faf4e784 51%, transparent 97%);
}
.park {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: filter .8s ease;
}
.dusk-tint {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(150deg, #85535b4d, #23356066 70%, #18223c99);
  mix-blend-mode: multiply;
  transition: opacity .8s ease;
}
body[data-light="dusk"] .park { filter: hue-rotate(-16deg) saturate(.67) brightness(.76); }
body[data-light="dusk"] .dusk-tint { opacity: 1; }

.motorhome {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(85px, 10vw, 155px);
  transform: translate(40vw, 38vh);
  pointer-events: none;
  filter: drop-shadow(1px 5px 3px #1e221fab);
  will-change: transform;
}
.motorhome img { width: 100%; height: auto; display: block; }
body[data-light="dusk"] .motorhome { filter: brightness(.84) drop-shadow(1px 4px 4px #14151c); }
body[data-light="dusk"] .motorhome::after {
  content: "";
  position: absolute;
  width: 62%;
  height: 22%;
  left: 94%;
  top: 67%;
  background: linear-gradient(90deg, #ffd997a0, transparent);
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 66%);
}
.birds {
  position: absolute;
  top: 31%;
  left: 66%;
  opacity: .75;
  animation: glide 36s linear infinite;
}
.birds i { position: absolute; width: 13px; height: 5px; }
.birds i:nth-child(2) { top: 10px; left: 23px; transform: scale(.65); }
.birds i:nth-child(3) { top: -12px; left: 39px; transform: scale(.72); }
.birds i::before, .birds i::after {
  content: ""; width: 7px; height: 5px; border-radius: 50%; border-top: 1.6px solid #192c23;
  position: absolute; top: 0;
}
.birds i::after { left: 6px; transform: rotate(-12deg); }
.birds i::before { transform: rotate(12deg); }
@keyframes glide {
  from { transform: translate(22vw, 9px); opacity: 0; }
  13%, 77% { opacity: .75; }
  to { transform: translate(-51vw, -32px); opacity: 0; }
}
body[data-motion="paused"] .birds { animation-play-state: paused; }

.scenic-footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 65px;
  gap: 16px;
  padding: 11px clamp(20px, 4.6vw, 72px) 18px;
  color: #fff9e8;
  background: linear-gradient(transparent, #151e17a0);
  z-index: 3;
}
.footer-brand {
  align-self: end;
  font-size: .8125rem;
  font-weight: 700;
  padding-bottom: 7px;
  text-shadow: 0 1px 5px #0c1910;
}
.scene-controls { display: flex; gap: 7px; }
.scene-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #fff4dc77;
  border-radius: 7px;
  color: #fff9eb;
  background: #142a21dd;
  font: 600 .875rem "DM Sans", Arial, sans-serif;
}
.scene-button:hover { background: #2b4938; }
.motion-button { width: 42px; justify-content: center; padding: 0; }
.light-icon {
  width: 12px; height: 12px; display: inline-block;
  border-radius: 50%;
  box-shadow: -4px 2px 0 0 currentColor;
  transform: translate(2px, -1px) scale(.8);
}
body[data-light="dusk"] .light-icon { background: #f5ca75; box-shadow: none; }
.motion-icon { width: 10px; height: 12px; display: inline-block; border-inline: 3px solid currentColor; }
body[data-motion="paused"] .motion-icon {
  width: 0; height: 0; border: solid transparent;
  border-width: 6px 0 6px 9px; border-left-color: currentColor;
}

#intake {
  width: min(93vw, 660px);
  max-height: calc(100dvh - 36px);
  padding: 0;
  border: 1px solid #7769504a;
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 22px 80px #06160e83;
  overflow: auto;
}
#intake::backdrop { background: #14261dd1; backdrop-filter: blur(5px); }
.dialog-header {
  padding: 13px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #49392723;
}
.dialog-header h2 { margin: 0; font: 400 2.4rem/.95 "Instrument Serif", Georgia, serif; }
.dialog-close {
  width: 39px;
  height: 39px;
  border: 1px solid #4939273d;
  border-radius: 7px;
  color: #1c392c;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}
.dialog-close:hover { background: #eee4cb; }
#intake-frame { display: block; width: 100%; height: min(68dvh, 690px); border: 0; background: #fffcf4; }
.form-fallback { margin: 0; padding: 12px 18px; font-size: .875rem; text-align: right; }

@media (max-width: 660px) {
  .site-header { height: 66px; }
  .brand { width: 130px; }
  .contact-link { font-size: .9rem; }
  .hero { min-height: max(675px, calc(100svh - 66px)); }
  .hero-copy { padding-top: clamp(54px, 8.6vh, 80px); margin-bottom: 110px; }
  h1 { font-size: clamp(3.75rem, 12.85vw, 5.25rem); }
  .eyebrow { font-size: .75rem; margin-bottom: 18px; }
  .hero-description { margin-top: 21px; max-width: 310px; }
  .scenery { height: clamp(337px, 51vh, 450px); }
  .birds { top: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
