@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap");

:root {
  color-scheme: light;
  font-family: "DM Sans", sans-serif;
  color: #242320;
  background: #f8f6f1;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-weight: 400;
  --ink: #242320;
  --muted: #77746d;
  --accent: #bc5f4c;
  --paper: #f8f6f1;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 28px 7vw;
}

.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.07em;
  text-decoration: none;
}

.header-contact,
.primary-link {
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.header-contact span,
.primary-link span {
  margin-left: 8px;
  color: var(--accent);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(690px, 78vh);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 100px 14vw 125px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 50%;
  right: 12%;
  width: min(40vw, 510px);
  aspect-ratio: 1;
  border: 1px solid rgb(188 95 76 / 18%);
  border-radius: 50%;
  content: "";
  transform: translateY(-48%);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero .eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

h1 {
  position: relative;
  max-width: 690px;
  margin: 28px 0 20px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  letter-spacing: -0.065em;
  line-height: 0.99;
}

h1 em {
  color: var(--accent);
  font-weight: 500;
}

.hero-copy {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.primary-link {
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c9c4bb;
}

.sun {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 19%;
  width: min(25vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f0e3d8;
  transform: translateY(-50%);
}

.orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 15%;
  width: min(33vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgb(188 95 76 / 32%);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-24deg) scaleY(0.42);
}

.orbit-two {
  transform: translateY(-50%) rotate(24deg) scaleY(0.42);
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.8fr);
  gap: 12vw;
  padding: 105px 14vw 120px;
  background: #eeece5;
}

.contact h2 {
  margin: 18px 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.contact h2 span {
  color: var(--accent);
}

.contact-intro > p:last-child {
  max-width: 290px;
  color: var(--muted);
  line-height: 1.8;
}

form {
  display: grid;
  gap: 19px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c8c4bb;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

input {
  height: 38px;
}

textarea {
  min-height: 95px;
  padding-top: 8px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
}

button {
  justify-self: start;
  min-width: 145px;
  padding: 14px 19px;
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
}

button span {
  margin-left: 12px;
}

button:hover {
  background: var(--accent);
}

.form-note {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.form-note a {
  white-space: nowrap;
}

footer {
  gap: 20px;
  padding: 26px 7vw;
  color: var(--muted);
  font-size: 0.73rem;
}

footer .wordmark {
  color: var(--ink);
  font-size: 1.15rem;
}

footer > a:last-child {
  text-decoration: none;
}

@media (max-width: 700px) {
  .site-header {
    padding: 22px 6vw;
  }

  .hero {
    min-height: 620px;
    padding: 100px 9vw 110px;
  }

  .hero::before {
    top: 60%;
    right: -17%;
    width: 75vw;
  }

  .sun {
    top: 60%;
    right: -1%;
    width: 47vw;
  }

  .orbit {
    top: 60%;
    right: -12%;
    width: 62vw;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 75px 9vw 85px;
  }

  footer {
    flex-wrap: wrap;
    padding: 23px 6vw;
  }

  footer > a:last-child {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
