* { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #173832;
  background: #faf8f1;
  line-height: 1.6;
}

body { margin: 0; }
a { color: inherit; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.5rem;
  padding-block: 1.2rem;
}

.brand { text-decoration: none; font-size: 1.35rem; font-weight: 800; }
.brand span { font-weight: 500; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
nav a { padding-block: .4rem; text-underline-offset: .32em; }
nav a:not([aria-current]):not(:hover) { text-decoration: none; }

.hero {
  overflow: hidden;
  border-radius: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e8efdc;
}

.hero-copy, .about { padding: clamp(1.5rem, 5vw, 4rem); }
h1, h2 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
p { max-width: 60ch; margin: 1rem 0; }
.eyebrow { margin: 0 0 1rem; font-weight: 700; color: #315f51; }

.button {
  display: inline-block;
  margin-top: .75rem;
  border: 0;
  border-radius: .45rem;
  padding: .65rem 1.05rem;
  background: #173832;
  color: #fff;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #315f51; }
:focus-visible { outline: 3px solid #a34a19; outline-offset: 4px; }

.landscape {
  position: relative;
  isolation: isolate;
  min-height: 15rem;
  background: linear-gradient(#82ac9b, #dbe5bb 72%);
}
.sun {
  position: absolute;
  width: 25%;
  aspect-ratio: 1;
  top: 13%;
  right: 18%;
  border-radius: 50%;
  background: #f7d38a;
}
.ridge { position: absolute; inset: 0; }
.ridge-back {
  background: #578e7d;
  clip-path: polygon(0 68%, 25% 36%, 43% 56%, 68% 25%, 100% 72%, 100% 100%, 0 100%);
}
.ridge-front {
  background: #235b4d;
  clip-path: polygon(0 89%, 32% 59%, 56% 79%, 79% 53%, 100% 70%, 100% 100%, 0 100%);
}

.intro { padding: 2.5rem clamp(0rem, 5vw, 4rem); }
.about { border-radius: 1rem; background: #e8efdc; margin-bottom: 2.5rem; }
.site-footer { border-top: 1px solid #b8c9bb; padding-block: 1.2rem; }
[data-content] { white-space: pre-line; }
.site-photo { display: block; width: 100%; object-fit: cover; }
.hero-photo { height: 100%; min-height: 15rem; }
.about-photo { max-height: 28rem; border-radius: .65rem; }
.contact form { max-width: 34rem; }
form label { display: block; margin-block: .75rem; }
form input:not([type="hidden"]), form textarea {
  display: block;
  width: 100%;
  margin-top: .25rem;
  padding: .55rem .7rem;
  border: 1px solid #708e80;
  border-radius: .4rem;
  color: inherit;
  background: #fff;
  font: inherit;
}
form textarea { min-height: 6rem; resize: vertical; }

@media (max-width: 44rem) {
  .hero { grid-template-columns: 1fr; }
}
