:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #17241f;
  --muted: #656b63;
  --green: #245c48;
  --line: #deded5;
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 7.2%;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -1.2px;
  text-decoration: none;
}

.wordmark span {
  color: #d1734e;
}

.header-link,
.back-to-top {
  font-size: 13px;
  text-decoration: none;
}

.header-link span {
  margin-left: 5px;
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  padding: 98px 12% 100px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #d1734e;
  vertical-align: 1px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -2.8px;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin-bottom: 22px;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.99;
}

h1 span,
h2 span {
  color: var(--green);
  font-family: Georgia, serif;
  font-weight: 600;
  font-style: italic;
}

.intro {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 25px;
  padding: 0 18px;
  background: var(--green);
  color: white;
  font-size: 12px;
  text-decoration: none;
  transition: background 160ms ease;
}

.button:hover {
  background: #173c30;
}

.button span {
  font-size: 16px;
}

.hero-art {
  position: absolute;
  top: 100px;
  right: 7%;
  width: min(39vw, 465px);
  aspect-ratio: 1;
}

.art-sun {
  position: absolute;
  top: 16%;
  right: 18%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e4a77b;
}

.art-orbit {
  position: absolute;
  top: 7%;
  right: 5%;
  width: 74%;
  height: 62%;
  border: 1px solid rgb(36 92 72 / 28%);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.orbit-two {
  top: 0;
  right: -2%;
  width: 87%;
  height: 74%;
  transform: rotate(38deg);
}

.art-hill {
  position: absolute;
  right: -9%;
  bottom: 8%;
  width: 115%;
  height: 43%;
  border-radius: 50% 50% 0 0;
  transform: rotate(-11deg);
}

.hill-back {
  right: 9%;
  bottom: 19%;
  width: 76%;
  height: 35%;
  background: #b7c5aa;
  transform: rotate(16deg);
}

.hill-front {
  background: var(--green);
}

.art-spark {
  position: absolute;
  color: #d1734e;
  font-size: 25px;
}

.spark-one {
  top: 16%;
  left: 19%;
}

.spark-two {
  top: 45%;
  right: 1%;
  font-size: 16px;
}

.side-note {
  position: absolute;
  top: 50%;
  right: 3%;
  color: #7d827a;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 70px;
  padding: 88px 12%;
  border-top: 1px solid var(--line);
  background: #eeeee7;
}

.about .eyebrow {
  margin-bottom: 19px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(35px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}

.about-copy {
  align-self: center;
  max-width: 460px;
}

.about-copy > p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.connection {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.2px;
}

.connection-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6a36e;
}

.connection-indicator.is-connected {
  background: #3e8765;
}

.connection-indicator.is-disconnected {
  background: #b95d4b;
}

.site-footer {
  min-height: 100px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.back-to-top {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    padding-right: 6%;
    padding-left: 6%;
  }

  .hero {
    min-height: 720px;
    padding: 75px 8% 340px;
  }

  h1 {
    font-size: clamp(52px, 12vw, 76px);
  }

  .hero-art {
    top: auto;
    right: 9%;
    bottom: -3%;
    width: min(75vw, 380px);
  }

  .side-note {
    top: auto;
    right: 3%;
    bottom: 23%;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 27px;
    padding: 66px 8%;
  }

  .site-footer p {
    max-width: 115px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
