:root {
  color-scheme: only light;
  --bg: #ee5a31;
  --text: #fff7f0;
  --phone-offset: -100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  min-height: 100vh;
  background: var(--bg);
  font-family: "Fraunces", "Times New Roman", serif;
  color: var(--text);
  overflow-x: hidden;
}

.page-content {
  min-height: 100vh;
  display: grid;
  place-items: start;
  padding: 230px clamp(16px, 6vw, 90px) 60px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.page-copy {
  display: grid;
  gap: 42px;
}

.page-content h1 {
  text-align: left;
}

.page-copy .big {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.site-header {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
  padding: 0 clamp(16px, 6vw, 90px);
}

.nav {
  display: flex;
  gap: 16px;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 247, 240, 0.85);
}

.nav a.active {
  color: var(--text);
  background: rgba(255, 247, 240, 0.2);
  padding: 6px 12px;
  border-radius: 0;
}

.nav a {
  padding: 6px 12px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(32px, 6vw) minmax(0, 0.9fr);
  align-items: center;
  gap: 0;
  padding: 110px clamp(16px, 6vw, 90px) 60px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 48px;
  justify-items: start;
  text-align: left;
  max-width: 660px;
  justify-self: end;
  grid-column: 1;
  align-self: start;
  margin-top: 200px;
}

.phone {
  max-width: min(70vw, 360px);
  height: auto;
  display: block;
  justify-self: start;
  grid-column: 3;
  transform: translateY(var(--phone-offset));
}

h1 {
  font-size: clamp(2.4rem, 3.9vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-align: left;
  overflow-wrap: normal;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 44px;
  border-radius: 999px;
  background: var(--text);
  color: #1f120c;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  justify-self: start;
}

.mobile-only {
  display: none;
}

@media (max-width: 700px) {
  :root {
    --phone-offset: 0px;
  }

  .hero {
    text-align: left;
    grid-template-columns: 1fr;
    padding: 120px 8vw 60px;
    gap: 32px;
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
    max-width: 100%;
    margin-top: 0;
    grid-column: auto;
    align-self: center;
    gap: 28px;
    width: 100%;
  }

  .phone {
    justify-self: center;
    grid-column: auto;
    max-width: min(82vw, 320px);
    transform: none;
    margin-bottom: 100px;
  }

  .site-header {
    top: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 0.8rem;
  }

  h1 {
    text-align: left;
    font-size: clamp(1.8rem, 7.2vw, 2.8rem);
    line-height: 1.1;
    max-width: none;
  }

  .page-content {
    padding: 140px 8vw 60px;
  }

  .page-copy .big {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.1;
  }

  .mobile-only {
    display: block;
  }

  .button {
    padding: 16px 28px;
    font-size: 1rem;
    justify-self: start;
    margin-bottom: 20px;
  }
}
