@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --ink: #272727;
  --muted: #6c6a68;
  --cream: #f7f3ed;
  --white: #fffdfa;
  --sage: #dfe8df;
  --peach: #f1d8cb;
  --lavender: #e4def0;
  --line: rgba(39, 39, 39, .14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8vw 7vw;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, var(--lavender) 0 10%, transparent 32%),
    radial-gradient(circle at 8% 90%, var(--sage) 0 10%, transparent 30%),
    var(--cream);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 {
  max-width: 950px;
  font-size: clamp(3.1rem, 7vw, 7rem);
  line-height: .98;
}

h1 span {
  display: block;
  color: var(--muted);
}

.claim {
  margin: 34px 0 26px;
  max-width: 650px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
}

.services span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,253,250,.45);
  font-size: .86rem;
  backdrop-filter: blur(8px);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 150px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover,
.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(39,39,39,.10);
}

.dark,
.submit {
  color: var(--white);
  background: var(--ink);
}

.light {
  background: rgba(255,253,250,.5);
}

.orb {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.orb-one {
  width: 280px;
  height: 280px;
  right: 8%;
  bottom: -140px;
  background: var(--peach);
}

.orb-two {
  width: 120px;
  height: 120px;
  right: 25%;
  top: 10%;
  background: rgba(223,232,223,.7);
}

.contact-hint {
  position: absolute;
  right: 7vw;
  bottom: 32px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 8vw, 130px);
  padding: 10vw 7vw;
  background: var(--white);
}

.contact-intro {
  align-self: center;
  max-width: 530px;
}

h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.02;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 430px;
  margin: 28px 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.email {
  font-weight: 600;
  text-underline-offset: 5px;
}

.contact-form {
  align-self: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--sage);
  box-shadow: 0 20px 60px rgba(39,39,39,.08);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid rgba(39,39,39,.16);
  border-radius: 13px;
  outline: none;
  background: rgba(255,253,250,.75);
  color: var(--ink);
  font: 400 1rem "DM Sans", Arial, sans-serif;
}

textarea {
  min-height: 135px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(39,39,39,.5);
  background: var(--white);
}

.submit {
  width: 100%;
}

.contact-form small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 7vw 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

footer a {
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 82vh;
    padding: 25vw 7vw 18vw;
  }

  .contact-hint {
    display: none;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 22vw 7vw;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .submit {
    transition: none;
  }
}
