* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #050505;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

.topbar {
  position: fixed;
  top: 30px;
  left: 19px;
  z-index: 10;
}

.inquiries {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #050505;
  text-decoration: none;
  font-size: 31px;
  line-height: 1;
}

.phone {
  width: 47px;
  height: 47px;
  border: 2.2px solid #050505;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.phone svg {
  width: 29px;
  height: 29px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 4.1vw, 60px);
  padding: 0 30px;
}

.project-card {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  width: 186px;
  height: 186px;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.project-card img {
  display: block;
  width: 186px;
  height: 186px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform .25s ease;
}

.project-card:hover img {
  transform: translate(-2px, -2px);
}

.corner-shadow {
  position: absolute;
  width: 0;
  height: 0;
  right: -27px;
  bottom: 0;
  border-top: 47px solid transparent;
  border-left: 27px solid #777;
  z-index: 1;
  filter: drop-shadow(0 0 1px rgba(0,0,0,.18));
}

.wordmark {
  font-size: clamp(25px, 2vw, 30px);
  white-space: nowrap;
  margin: 0 1px;
  letter-spacing: -.5px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(5px);
}

.modal-box {
  position: relative;
  width: min(420px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid #111;
  padding: 34px;
  box-shadow: 10px 10px 0 #777;
  z-index: 1;
}

.close {
  position: absolute;
  top: 8px;
  right: 13px;
  border: 0;
  background: transparent;
  font: 32px/1 Georgia, serif;
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 8px;
  font: 11px/1 Arial, sans-serif;
  letter-spacing: .16em;
}

.modal-box h2 {
  margin: 0 0 25px;
  font-size: 30px;
  font-weight: 400;
}

.listen-links {
  display: flex;
  gap: 10px;
}

.listen-links a {
  color: #050505;
  text-decoration: none;
  border: 1px solid #111;
  padding: 12px 16px;
  font-size: 15px;
  transition: background .2s, color .2s;
}

.listen-links a:hover {
  background: #050505;
  color: #fff;
}

@media (max-width: 700px) {
  .topbar {
    top: 20px;
    left: 16px;
  }

  .inquiries {
    font-size: 24px;
  }

  .phone {
    width: 39px;
    height: 39px;
  }

  .phone svg {
    width: 24px;
    height: 24px;
  }

  .hero {
    min-height: 100svh;
    flex-direction: column;
    gap: 30px;
    padding: 120px 24px 50px;
  }

  .wordmark {
    order: 2;
    font-size: 25px;
  }

  .project-card.left { order: 1; }
  .project-card.right { order: 3; }

  .project-card,
  .project-card img {
    width: min(186px, 52vw);
    height: min(186px, 52vw);
  }

  .listen-links {
    flex-direction: column;
  }
}
