:root {
  color-scheme: light;
  --forest: #173f2a;
  --forest-deep: #0e2e1d;
  --cream: #f3eddb;
  --lime: #c9e265;
  --clay: #cb7958;
  --gold: #efc85f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--forest-deep);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

main {
  min-height: 100svh;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - clamp(1.5rem, 4vw, 3rem));
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(243, 237, 219, 0.18);
  border-radius: clamp(1.25rem, 2.8vw, 2.25rem);
  background:
    radial-gradient(circle at 72% 30%, rgba(201, 226, 101, 0.1), transparent 30%),
    var(--forest);
}

.topbar,
footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: inherit;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  gap: 0.18rem;
  align-items: end;
  height: 1.2rem;
}

.brand-mark span {
  display: block;
  width: 0.22rem;
  border-radius: 1rem 1rem 0 0;
  background: var(--lime);
  transform-origin: bottom;
}

.brand-mark span:nth-child(1) { height: 65%; transform: rotate(-18deg); }
.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 72%; transform: rotate(18deg); }

.status {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(243, 237, 219, 0.78);
}

.status i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0.3rem rgba(201, 226, 101, 0.12);
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  width: min(60rem, 100%);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.4rem, 8vw, 7.5rem) 8rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.75rem, 9.5vw, 8.8rem);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 34rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: rgba(243, 237, 219, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.landscape {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: min(48vw, 46rem);
  height: 72%;
  pointer-events: none;
}

.sun {
  position: absolute;
  top: 4%;
  right: 17%;
  width: clamp(5rem, 10vw, 9rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 5rem rgba(239, 200, 95, 0.14);
}

.field {
  position: absolute;
  right: -15%;
  bottom: -35%;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 48% 52% 0 0;
  transform: rotate(-12deg);
}

.field-back { background: var(--clay); }

.field-front {
  right: -42%;
  bottom: -50%;
  background: var(--lime);
  transform: rotate(8deg);
}

.sprout {
  position: absolute;
  right: 22%;
  bottom: 22%;
  width: 8rem;
  height: 11rem;
  transform: rotate(6deg);
}

.stem {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 0.42rem;
  height: 8rem;
  border-radius: 1rem;
  background: var(--forest-deep);
  transform: translateX(50%);
}

.leaf {
  position: absolute;
  top: 1rem;
  width: 4.6rem;
  height: 2.5rem;
  background: var(--forest-deep);
}

.leaf-left {
  left: 0;
  border-radius: 100% 0 100% 0;
  transform: rotate(12deg);
}

.leaf-right {
  right: 0;
  top: 0;
  border-radius: 0 100% 0 100%;
  transform: rotate(-8deg);
}

footer {
  color: rgba(243, 237, 219, 0.58);
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .hero-copy {
    align-self: start;
    padding-top: 18vh;
    padding-bottom: 15rem;
  }

  .landscape {
    width: 100%;
    height: 45%;
  }

  .sprout {
    right: 14%;
    bottom: 15%;
    transform: scale(0.75) rotate(6deg);
  }

  footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .sprout {
    animation: rise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .sun {
    animation: glow 4s ease-in-out infinite alternate;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(2rem) rotate(6deg); }
  }

  @keyframes glow {
    to { box-shadow: 0 0 8rem rgba(239, 200, 95, 0.3); }
  }
}
