* {
  box-sizing: border-box;
}

html {
  background: #e7e3d8;
}

body {
  margin: 0;
  background: #e7e3d8;
  color: #111111;
  font-family: Helvetica, Arial, sans-serif;
}

main {
  min-height: 100vh;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  border-top: 2px solid #111111;
  padding-top: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #111111;
  font-size: 25px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.brand:hover,
.brand:focus {
  background: transparent;
  color: #111111;
}

.brand-mark {
  width: clamp(72px, 11vw, 118px);
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.location {
  font-size: 15px;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  margin-top: 80px;
}

h1 {
  margin: 0;
  max-width: 1200px;
  font-size: clamp(54px, 10vw, 138px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.statement {
  margin: 48px 0 0;
  max-width: 720px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 500;
}

.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 2px solid #111111;
  padding-top: 22px;
  margin-top: 80px;
}

.block {
  font-size: 15px;
  line-height: 1.45;
  text-transform: uppercase;
}

.block span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

a {
  color: #111111;
  text-decoration: none;
  border-bottom: 2px solid #111111;
}

a:hover,
a:focus {
  background: #111111;
  color: #e7e3d8;
}

.contact-button {
  display: inline-block;
  min-width: 132px;
  padding: 11px 16px 10px;
  border: 2px solid #111111;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 760px) {
  main {
    padding: 28px;
  }

  header,
  .bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .brand {
    max-width: 100%;
    font-size: 19px;
    gap: 14px;
    letter-spacing: 0.12em;
  }

  .brand-mark {
    width: 78px;
  }

  .location {
    text-align: left;
  }

  .hero {
    margin-top: 72px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: clamp(42px, 16vw, 58px);
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
  }
}
