@font-face {
  font-family: "Work Sans";
  src: url("/assets/work-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Avenir;
  src: url("/assets/avenir-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #000;
  background: #f3f3f3;
  font-family: Avenir, Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
p, h1, h2 { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid #1665b4;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: white;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.landing {
  width: 980px;
  max-width: 100%;
  margin-inline: auto;
}

.hero { position: relative; height: 942px; }

.door-photo, .appliance-photo {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

.door-photo { top: 16px; left: 20px; width: 488px; height: 488px; }
.appliance-photo { top: 389px; left: 274px; width: 359px; height: 358px; z-index: 1; }

.intro { position: absolute; top: 44px; left: 522px; width: 437px; }

.intro h1 {
  margin-bottom: 24px;
  font: 600 6.25rem/normal "Work Sans", Arial, sans-serif;
  letter-spacing: -0.02em;
}

.intro h2 {
  margin-left: 7px;
  margin-bottom: 5px;
  font: 600 1.375rem/normal "Work Sans", Arial, sans-serif;
}

.intro-copy { margin-left: 7px; line-height: 1.6; }

.chat-arrow {
  position: absolute;
  top: 604px;
  left: 537px;
  width: 327px;
  height: 338px;
  transform: rotate(-3.752533273645deg);
}

.brand { margin-left: 184px; padding-bottom: 7px; }
.brand img { width: 600px; height: auto; }

.chat-hours {
  position: fixed;
  right: 20px;
  bottom: 69px;
  width: 303px;
  z-index: 2;
  pointer-events: none;
}

.chat-hours img { width: 100%; height: auto; }

@media (max-width: 979px) {
  .landing { width: 720px; padding: 32px 24px 120px; }
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 32px 24px;
    height: auto;
  }
  .intro { position: static; width: auto; }
  .intro h1 { font-size: 4.5rem; margin-bottom: 18px; }
  .intro h2, .intro-copy { margin-left: 0; }
  .intro h2 { margin-bottom: 12px; }
  .intro-copy p + p { margin-top: 12px; }
  .door-photo, .appliance-photo {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .appliance-photo { width: 85%; justify-self: end; margin-top: -64px; }
  .chat-arrow {
    position: static;
    align-self: center;
    width: 70%;
    height: auto;
    transform: none;
  }
  .brand { margin: 32px auto 0; padding: 0; }
  .brand img { margin-inline: auto; }
  .chat-hours {
    position: static;
    width: 303px;
    max-width: calc(100% - 48px);
    margin: -88px auto 92px;
  }
}

@media (max-width: 599px) {
  .landing { width: 440px; padding-top: 24px; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .intro { grid-row: 1; }
  .intro h1 { font-size: 4rem; margin-bottom: 12px; }
  .intro h2 { font-size: 1.375rem; }
  .door-photo { width: 88%; }
  .appliance-photo { width: 64%; margin-top: -96px; }
  .chat-arrow { display: none; }
  .brand { margin-top: 28px; }
}
