html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
}
img {
  border-style: none;
}
a {
    outline: none;
    text-decoration: none;
}
body {
  margin: 0;
  padding: 3.2rem;
  background-color: #d5efe1;
  color: #0d0c22;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 2rem;
  line-height: 1.6;
  padding: 0 3.2rem 3.2rem;
}
body.cases {
  padding: 3.2rem;
}
.case__study {
  background-color: #fff;
}
.case__study #top {
  display: block;
  height: 3.2rem;
}
p {
  margin: 0 0 2.8rem 0;
}
.page {
  max-width: 544px;
  margin: 0 auto;
}
.profile__container {
  margin-bottom: 3.2rem;
}
.profile {
    background-color: #fff;
    border-radius: 1.6rem;
    text-align: center;
    padding: 2.4rem 1.6rem 4.8rem;
}
h1 {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 0;
}
.profile__photo {
  padding-bottom: 0.8rem;
}
.photo {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 100%;
  margin: 0 auto;
}
.profile__name {
  padding-bottom: 4px;
}
.profile__title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  padding-bottom: 0.8rem;
}
.profile__tag {
  text-align: center;
  font-size: 1.6rem;
  opacity: .65;
}
.profile__link {
  list-style: none;
  padding: 0.8rem 0 0;
  margin: 0;
}
.profile__link li {
  padding: 1.2rem 0 0 0;
  font-size: 1.6rem;
  line-height: 1.3;
}
.profile__link a {
  display: inline-block;
  border-radius: 0.4rem;
  font-weight: 500;
  color: #478262;
  padding: 0.4rem 0.8rem;
}
.profile__link a:focus,
.profile__link a:active {
  box-shadow: 0 0 0 4px rgba(71,130,98,.24), 0 0 0 1px rgba(71,130,98,.24);
}
.work__links {
  margin-top: -2.8rem;
  padding: 0 2.4rem;
}
h2 {
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1.3;
  margin: 0 0 1.2rem 0;
}
h3 {
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.3;
  margin: 5.6rem 0 1.2rem 0;
}
h4 {
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 3.2rem 0 1.2rem 0;
}
.lead {
  font-size: 2.2rem;
}
.pronounce {
  display: inline-block;
  background-color: rgba(255,255,255,.45);
  padding: 0.8rem 1.6rem;
  margin-bottom: 2.8rem;
  margin-right: auto;
  border-radius: 0.8rem;
}
.pronounce p {
  margin-bottom: 0;
  font-size: 1.6rem;
  opacity: .75;
}
.pronounce .tag {
  font-weight: 600;
}
.primary__button {
  text-align: center;
  font-weight: 500;
  display: block;
  padding: 1.2rem 2.4rem;
  border-radius: 20rem;
  background: #478262;
  color: #fff;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.primary__button::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #0d0c22;
  transition: all .3s;
  border-radius: 10rem;
  z-index: -1;
}
.primary__button:hover::after {
  width: 100%;
}
.primary__button:focus,
.primary__button:active {
  box-shadow: 0 0 0 8px rgba(71,130,98,.24);
}
.secondary__button {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
  padding: 1.2rem 2.4rem;
  border-radius: 20rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 0.1rem solid rgba(13, 12, 34, 0.25);
  color: rgba(13, 12, 34, 0.65);
  margin-top: 1.6rem;
}
.secondary__button::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #fff;
  transition: all .3s;
  border-radius: 10rem;
  z-index: -1;
}
.secondary__button:hover {
  color: rgba(13, 12, 34, 0.85);
}
.secondary__button:hover::after {
  width: 100%;
}
.secondary__button:focus,
.secondary__button:active {
  box-shadow: 0 0 0 8px rgba(71,130,98,.24);
}
.cases__studies {
  max-width: 1024px;
  margin: 0 auto;
}
.case__study .cases__studies {
  max-width: 768px;
}
.cases__studies .pronounce {
  background-color: #f7f7f7;
}
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.case-item {
  position: relative;
  background-color: #fff;
  color: #0d0c22;
  border-radius: 1.6rem;
  padding: 2.4rem 2.4rem 6.4rem;
  transition: all ease-in 0.2s;
}
.case-item:hover,
.case-item:focus {
  box-shadow: 0 2px 20px rgba(71, 130, 98, 0.65), 0 0 0 2px rgba(71, 130, 98, 0.65);
}
.case-item,
.case-item span {
  display: block;
}
.case-item img {
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
}
.case-item .title {
  padding: .8rem 0;
  font-weight: bold;
}
.case-item .description,
.case-item .time {
  font-size: 1.8rem;
  line-height: 2.8rem;
}
.case-item .time {
  position: absolute;
  bottom: 2.4rem;
  opacity: .65;
}
.back--nav {
  display: flex;
  flex-direction: column-reverse; 
  gap: 1.6rem;
  margin-bottom: 4.8rem;
}
.back--nav a {
  display: inline-block;
  color: #0d0c22;
  font-size: 1.6rem;
  background-color: #f7f7f7;
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  transition: all .3s;
}
.btn--back__top {
  display: inline-block;
  color: #0d0c22;
  font-size: 1.6rem;
  background-color: #fff;
  border: 2px solid rgba(0, 0, 0, 0.15);
  padding: 0.8rem 1.6rem;
  border-radius: 0.8rem;
  transition: all .3s;
}
.back--nav a:hover, .btn--back__top:hover {
  color: #fff;
  background-color: #B7B7C0;
}
.back--nav a:hover, .btn--back__top:hover {
  color: #fff;
  background-color: #B7B7C0;
}
.btn--back__top {
  position: fixed;
  right: 20px;
  bottom: 20px;
}
.quick__nav p {
  margin-bottom: .8rem;
}
.quick__nav ul {
  margin: 0 0 4.8rem;
}
.quick__nav a,
.quick__nav a:hover {
  color: #478262;
  text-decoration: underline;
}
.quick__nav a:hover {
  opacity: .65;
}
figure {
  margin: 3.2rem 0;
  padding: 1.2rem 0.8rem;
  background-color: #f7f7f7;
  color: #0d0c22;
  border-radius: 1.2rem;
  text-align: center;
}
figure img, figure video {
  width: 100%;
  height: auto;
}
figcaption {
  opacity: .75;
}
figcaption a,
figcaption a:hover {
  color: #0d0c22;
  text-decoration: underline;
  font-style: italic;
}
.cases__studies :focus {
  outline: 3px dashed #478262;
  outline-offset: 4px;
}
.w__link {
  color: inherit;
  text-decoration: underline;
}
@media (min-width: 608px) {
  .hide__desktop {
    display: none;
  } 
  .contact__links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 2.4rem;
  }
  .secondary__button {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 2 1 auto;
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .case-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .case-item:hover,
  .case-item:focus {
    transform: scale(1.03);
  }
  figure {
    margin: 4.8rem -9.6rem;
    padding: 3.2rem 1.6rem;
  }
  .case-list a,
  .case__study a {
    cursor: pointer;
  }
  .back--nav {
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
  }
}
@media (min-width: 996px) {
  body, body.cases {
    padding: 9.6rem 0;
  }
  body.case__study {
    padding: 0 0 16rem;
  }
  .case__study #top {
    height: 4.8rem;
  }
  .page {
    position: relative;
    padding-left: 38.4rem;
  }
  .profile__container {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.6rem;
  }
}