
* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

body {
  min-height: 100vh;
  padding: 34px 32px 44px;
  font-synthesis: none;
}

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

.site-header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  min-height: 66px;
  position: relative;
  z-index: 10;
}

.logo {
  grid-column: 2;
  margin: 0;
  font-family: Didot, "Didot LT STD", "Hoefler Text", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.075em;
  line-height: .95;
  text-transform: uppercase;
  white-space: nowrap;
  text-rendering: geometricPrecision;
}

.nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 22px;
  padding-top: 5px;
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .28s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}

main {
  width: 100%;
}

.home-main {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 28px;
}

.home-content {
  width: min(1040px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f4f4;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-line {
  margin: 0;
  max-width: 980px;
  text-align: center;
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: .005em;
}

.page-main {
  width: min(980px, 88vw);
  margin: 0 auto;
  padding: clamp(90px, 14vh, 150px) 0 70px;
}

.page-title {
  margin: 0 0 38px;
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  letter-spacing: .01em;
}

.large-copy {
  width: min(760px, 100%);
  margin: 0;
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.012em;
}

.practice-grid {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  border-top: 1px solid #000;
}

.practice-item {
  padding: 17px 0 16px;
  border-bottom: 1px solid #000;
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.15;
}

.projects {
  width: 100%;
  border-top: 1px solid #000;
}

.project-row {
  display: grid;
  grid-template-columns: 1.1fr 2fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 18px 0 17px;
  border-bottom: 1px solid #000;
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
}

.project-name {
  font-size: clamp(23px, 2.5vw, 36px);
}

.project-desc {
  font-size: 16px;
  line-height: 1.4;
}

.project-arrow {
  font-size: 20px;
}

.contact-wrap {
  width: min(760px, 100%);
}

.contact-form {
  display: grid;
  gap: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 9px 0 10px;
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #000;
  font: 16px/1.4 "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-width: 2px;
}

.submit-button {
  justify-self: start;
  margin-top: 6px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid #000;
  background: transparent;
  color: #000;
  font: 16px/1 "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
  cursor: pointer;
}

.form-note {
  display: none;
  margin: 18px 0 0;
  font: 15px/1.45 "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
}

@media (max-width: 760px) {
  body {
    padding: 26px 20px 34px;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: 104px;
  }

  .logo {
    font-size: 30px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 0;
    font-size: 14px;
  }

  .home-main {
    min-height: calc(100vh - 150px);
    padding: 16px 0 24px;
  }

  .home-content,
  .page-main {
    width: 100%;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

  .home-line {
    max-width: 390px;
    font-size: 17px;
    line-height: 1.42;
  }

  .page-main {
    padding: 76px 0 45px;
  }

  .page-title {
    margin-bottom: 28px;
  }

  .large-copy {
    font-size: 28px;
    line-height: 1.2;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .project-row {
    grid-template-columns: 1fr auto;
    gap: 10px 20px;
  }

  .project-desc {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
