*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: #f4efe6;
  color: #241714;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.5;
}

::selection {
  background: #e7b48a;
  color: #241714;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  color: #fbf6ee;
  background:
    radial-gradient(ellipse 42% 22% at 50% 78%, rgba(255, 220, 170, 0.55), transparent 70%),
    linear-gradient(180deg, #151b2a 0%, #2a3046 18%, #5c3a4a 40%, #b15d4c 62%, #e89262 78%, #f6d7a4 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12vh 1.25rem 3rem;
}

.wordmark {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.45rem, 8vw, 6.5rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  text-shadow: 0 2px 28px rgba(20, 12, 16, 0.28);
}

.mark-sub {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
}

.tagline {
  margin: 1.6rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.45;
}

.horizon {
  position: relative;
  z-index: 2;
  height: 32vh;
  min-height: 168px;
}

.sun {
  position: absolute;
  left: 50%;
  bottom: 28%;
  width: min(18vw, 124px);
  height: min(18vw, 124px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff8ea 0%, #ffd78a 42%, #f09a58 100%);
  box-shadow: 0 0 70px 24px rgba(255, 186, 110, 0.48);
}

.hills {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 76%;
  display: block;
}

.contact {
  background: #f4efe6;
  padding: 4.25rem 1.25rem 2rem;
}

.contact-inner {
  max-width: 34rem;
  margin: 0 auto;
}

.contact h2 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.field {
  margin-bottom: 0.85rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.optional {
  color: #5c534c;
  font-size: 0.85em;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #d5c9ba;
  border-radius: 2px;
  background: #fffdf9;
  color: #241714;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
}

textarea {
  resize: vertical;
  min-height: 9rem;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid #8a4e3a;
  outline-offset: 2px;
}

.field-error {
  min-height: 1.15em;
  margin: 0.28rem 0 0;
  color: #6f221c;
  font-size: 0.85rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button {
  margin-top: 0.35rem;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 2px;
  background: #2c211c;
  color: #f6f1e8;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: #432f28;
}

button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-status {
  min-height: 1.4em;
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
}

.form-status.is-error {
  color: #6f221c;
}

.form-status.is-success {
  color: #145c38;
}

footer {
  background: #f4efe6;
  color: #3f3934;
  text-align: center;
  padding: 0.5rem 1rem 2rem;
}

footer p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (min-width: 800px) {
  .mark-sub {
    font-size: 0.82rem;
    letter-spacing: 0.48em;
    text-indent: 0.48em;
  }

  .hero-copy {
    padding-top: 8vh;
  }
}

@media (max-width: 420px) {
  .mark-sub {
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .contact {
    padding-top: 3rem;
  }
}
